diff options
author | Franziska Hinkelmann <franzih@chromium.org> | 2018-03-21 12:58:25 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-03-21 12:58:25 +0000 |
commit | 9a635e8127880dd93b2abc5e8da6a45046d35e31 (patch) | |
tree | ac361ba63aec227d693aca2b104fbe7be65ceae0 /fxjs/cfxjs_engine.h | |
parent | 765d1ebe41defa659a703a2f0ff5284c0da96a95 (diff) | |
download | pdfium-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/cfxjs_engine.h')
-rw-r--r-- | fxjs/cfxjs_engine.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fxjs/cfxjs_engine.h b/fxjs/cfxjs_engine.h index 5f883f7e4a..4f903bd96e 100644 --- a/fxjs/cfxjs_engine.h +++ b/fxjs/cfxjs_engine.h @@ -111,10 +111,10 @@ class CFXJS_Engine : public CFX_V8 { v8::AccessorGetterCallback pPropGet, v8::AccessorSetterCallback pPropPut); void DefineObjAllProperties(int nObjDefnID, - v8::NamedPropertyQueryCallback pPropQurey, - v8::NamedPropertyGetterCallback pPropGet, - v8::NamedPropertySetterCallback pPropPut, - v8::NamedPropertyDeleterCallback pPropDel); + v8::GenericNamedPropertyQueryCallback pPropQurey, + v8::GenericNamedPropertyGetterCallback pPropGet, + v8::GenericNamedPropertySetterCallback pPropPut, + v8::GenericNamedPropertyDeleterCallback pPropDel); void DefineObjConst(int nObjDefnID, const char* sConstName, v8::Local<v8::Value> pDefault); |