From 3e44a7bd2b60ace1ee8bc8f48c709056f65c3dc1 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Fri, 4 Mar 2016 12:25:33 -0800 Subject: Only place primitive objects on the V8 global template. Kill some crummy comments along the way. BUG=pdfium:419 R=jochen@chromium.org Review URL: https://codereview.chromium.org/1759893002 . --- 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