diff options
author | tsepez <tsepez@chromium.org> | 2016-07-15 17:58:02 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-07-15 17:58:02 -0700 |
commit | 40faa79da0bc902d7f1f5cc43464b94e6dfa5d22 (patch) | |
tree | 3e6ef034906a3cb46eb833b3e2309b34f7549c1d /fpdfsdk/javascript/app.cpp | |
parent | 514e8c914c0e6c2c69167d03786a83b1ebd15d70 (diff) | |
download | pdfium-40faa79da0bc902d7f1f5cc43464b94e6dfa5d22.tar.xz |
Remove type info from CJS_Value, interrogate v8 instead
Review-Url: https://codereview.chromium.org/2154503002
Diffstat (limited to 'fpdfsdk/javascript/app.cpp')
-rw-r--r-- | fpdfsdk/javascript/app.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/javascript/app.cpp b/fpdfsdk/javascript/app.cpp index dd706ebd8c..1077629244 100644 --- a/fpdfsdk/javascript/app.cpp +++ b/fpdfsdk/javascript/app.cpp @@ -458,7 +458,7 @@ FX_BOOL app::clearInterval(IJS_Context* cc, } void app::ClearTimerCommon(const CJS_Value& param) { - if (param.GetType() != CJS_Value::VT_fxobject) + if (param.GetType() != CJS_Value::VT_object) return; v8::Local<v8::Object> pObj = param.ToV8Object(); |