diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-08-14 23:40:10 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-14 23:40:10 +0000 |
commit | 55ccb526913debb3269a33792bbd61b05656ec46 (patch) | |
tree | a98152baf9d4a5dcf1c76ecaf53cbae35720d2b8 /fxjs/cfxjs_engine.h | |
parent | 48d62c3a5f57eb3397a335bea4a5a30de2fcb955 (diff) | |
download | pdfium-55ccb526913debb3269a33792bbd61b05656ec46.tar.xz |
Remove optional argument from NewFXJSBoundObject().
Additionally, we have a pre-existing enum type that is more
meaningful than just a boolean.
Change-Id: Ie6ad13a3c9b22e34dedf7a5a9b5b9cc2a49b1f03
Reviewed-on: https://pdfium-review.googlesource.com/40190
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/cfxjs_engine.h')
-rw-r--r-- | fxjs/cfxjs_engine.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fxjs/cfxjs_engine.h b/fxjs/cfxjs_engine.h index a940f3fc46..63c6732791 100644 --- a/fxjs/cfxjs_engine.h +++ b/fxjs/cfxjs_engine.h @@ -128,8 +128,7 @@ class CFXJS_Engine : public CFX_V8 { Optional<IJS_Runtime::JS_Error> Execute(const WideString& script); v8::Local<v8::Object> GetThisObj(); - v8::Local<v8::Object> NewFXJSBoundObject(int nObjDefnID, - bool bStatic = false); + v8::Local<v8::Object> NewFXJSBoundObject(int nObjDefnID, FXJSOBJTYPE type); void Error(const WideString& message); v8::Local<v8::Context> GetV8Context() { |