From 297b515e3d53095e36991480a194b54ce887757b Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Fri, 4 Mar 2016 13:43:46 -0800 Subject: 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 . --- fpdfsdk/include/jsapi/fxjs_v8.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpdfsdk/include') 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 pDefault); + v8::FunctionCallback pConstGetter); // Called after FXJS_Define* calls made. void FXJS_InitializeRuntime( -- cgit v1.2.3