summaryrefslogtreecommitdiff
path: root/fxjs/cjs_runtime.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-08-29 23:18:08 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-29 23:18:08 +0000
commitd5f427901b52e1311ab51f16e87459ec34691591 (patch)
tree7dd25968b86a92bcba4db82361df989f118df4a4 /fxjs/cjs_runtime.h
parent9e90e7987de10832b505cc0b46abf502b6f5eb7a (diff)
downloadpdfium-d5f427901b52e1311ab51f16e87459ec34691591.tar.xz
Stop using deprecated V8 APIs in CJS_Runtime.
Also for CFXJSE_Arguments. Change-Id: I15bfa4e09675bb48aecfa0c55539bf8dc50675e6 Reviewed-on: https://pdfium-review.googlesource.com/41370 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fxjs/cjs_runtime.h')
-rw-r--r--fxjs/cjs_runtime.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fxjs/cjs_runtime.h b/fxjs/cjs_runtime.h
index f7b2679523..8835106697 100644
--- a/fxjs/cjs_runtime.h
+++ b/fxjs/cjs_runtime.h
@@ -65,8 +65,8 @@ class CJS_Runtime final : public IJS_Runtime,
std::vector<std::unique_ptr<CJS_EventContext>> m_EventContextArray;
CPDFSDK_FormFillEnvironment::ObservedPtr m_pFormFillEnv;
- bool m_bBlocking;
- bool m_isolateManaged;
+ bool m_bBlocking = false;
+ bool m_isolateManaged = false;
std::set<FieldEvent> m_FieldEventSet;
};