summaryrefslogtreecommitdiff
path: root/fpdfsdk/include/jsapi
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-03-04 12:25:33 -0800
committerTom Sepez <tsepez@chromium.org>2016-03-04 12:25:33 -0800
commit3e44a7bd2b60ace1ee8bc8f48c709056f65c3dc1 (patch)
treeda619820b9c96ebca7551fd2135a3dff8925c3e6 /fpdfsdk/include/jsapi
parentdca24838ce9799bd878477f36014525c9d6b645d (diff)
downloadpdfium-3e44a7bd2b60ace1ee8bc8f48c709056f65c3dc1.tar.xz
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 .
Diffstat (limited to 'fpdfsdk/include/jsapi')
-rw-r--r--fpdfsdk/include/jsapi/fxjs_v8.h2
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(