diff options
author | Tom Sepez <tsepez@chromium.org> | 2016-03-04 13:43:46 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2016-03-04 13:43:46 -0800 |
commit | 297b515e3d53095e36991480a194b54ce887757b (patch) | |
tree | b9b6be50cd9264f18df5264fb5fabe3c7e502ba0 /fpdfsdk/include | |
parent | c91f42a7ec3fdc57c76a9b175914ecfbd24a9a03 (diff) | |
download | pdfium-297b515e3d53095e36991480a194b54ce887757b.tar.xz |
Re-land "Only place primitive objects on the V8 global template."
This reverts commit 1a35d55dd6b0d1ea1918e2d6a6c25faf599ba168.
Prevent handles from being destructed after v8 is gone.
BUG=pdfium:419
R=ochang@chromium.org
Review URL: https://codereview.chromium.org/1761073006 .
Diffstat (limited to 'fpdfsdk/include')
-rw-r--r-- | fpdfsdk/include/jsapi/fxjs_v8.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/include/jsapi/fxjs_v8.h b/fpdfsdk/include/jsapi/fxjs_v8.h index 76373ac4bc..64fa01bd44 100644 --- a/fpdfsdk/include/jsapi/fxjs_v8.h +++ b/fpdfsdk/include/jsapi/fxjs_v8.h @@ -188,7 +188,7 @@ void FXJS_DefineGlobalMethod(v8::Isolate* pIsolate, v8::FunctionCallback pMethodCall); void FXJS_DefineGlobalConst(v8::Isolate* pIsolate, const wchar_t* sConstName, - v8::Local<v8::Value> pDefault); + v8::FunctionCallback pConstGetter); // Called after FXJS_Define* calls made. void FXJS_InitializeRuntime( |