summaryrefslogtreecommitdiff
path: root/fxjs/cjs_global.h
diff options
context:
space:
mode:
authorFranziska Hinkelmann <franzih@chromium.org>2018-03-21 12:58:25 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-03-21 12:58:25 +0000
commit9a635e8127880dd93b2abc5e8da6a45046d35e31 (patch)
treeac361ba63aec227d693aca2b104fbe7be65ceae0 /fxjs/cjs_global.h
parent765d1ebe41defa659a703a2f0ff5284c0da96a95 (diff)
downloadpdfium-9a635e8127880dd93b2abc5e8da6a45046d35e31.tar.xz
Replace deprecated SetNamedPropertyHandler
Replace v8::SetNamedPropertyHandler() with SetHandler() and the appropriate flag set. Change-Id: Ia06311cbea4ab21903d4ac4fe115eab6f0983c0d Reviewed-on: https://pdfium-review.googlesource.com/28930 Reviewed-by: Jochen Eisinger <jochen@chromium.org> Commit-Queue: Jochen Eisinger <jochen@chromium.org>
Diffstat (limited to 'fxjs/cjs_global.h')
-rw-r--r--fxjs/cjs_global.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/fxjs/cjs_global.h b/fxjs/cjs_global.h
index ab905bcdd2..15ef603e45 100644
--- a/fxjs/cjs_global.h
+++ b/fxjs/cjs_global.h
@@ -22,14 +22,14 @@ class CJS_Global : public CJS_Object {
static void DefineAllProperties(CFXJS_Engine* pEngine);
static void queryprop_static(
- v8::Local<v8::String> property,
+ v8::Local<v8::Name> property,
const v8::PropertyCallbackInfo<v8::Integer>& info);
- static void getprop_static(v8::Local<v8::String> property,
+ static void getprop_static(v8::Local<v8::Name> property,
const v8::PropertyCallbackInfo<v8::Value>& info);
- static void putprop_static(v8::Local<v8::String> property,
+ static void putprop_static(v8::Local<v8::Name> property,
v8::Local<v8::Value> value,
const v8::PropertyCallbackInfo<v8::Value>& info);
- static void delprop_static(v8::Local<v8::String> property,
+ static void delprop_static(v8::Local<v8::Name> property,
const v8::PropertyCallbackInfo<v8::Boolean>& info);
static void setPersistent_static(