From 1a35d55dd6b0d1ea1918e2d6a6c25faf599ba168 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Fri, 4 Mar 2016 12:33:33 -0800 Subject: Revert "Only place primitive objects on the V8 global template." This reverts commit 3e44a7bd2b60ace1ee8bc8f48c709056f65c3dc1. R=ochang@chromium.org TBR=ochang@chromium.org Review URL: https://codereview.chromium.org/1767793002 . --- fpdfsdk/src/javascript/JS_Runtime.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'fpdfsdk/src/javascript/JS_Runtime.h') diff --git a/fpdfsdk/src/javascript/JS_Runtime.h b/fpdfsdk/src/javascript/JS_Runtime.h index 8215b88994..6fc3894f44 100644 --- a/fpdfsdk/src/javascript/JS_Runtime.h +++ b/fpdfsdk/src/javascript/JS_Runtime.h @@ -58,9 +58,6 @@ class CJS_Runtime : public IJS_Runtime { v8::Isolate* GetIsolate() const { return m_isolate; } v8::Local NewJSContext(); - void SetConstArray(const CFX_WideString& name, v8::Local array); - v8::Local GetConstArray(const CFX_WideString& name); - #ifdef PDF_ENABLE_XFA FX_BOOL GetHValueByName(const CFX_ByteStringC& utf8Name, FXJSE_HVALUE hValue) override; @@ -83,7 +80,6 @@ class CJS_Runtime : public IJS_Runtime { bool m_isolateManaged; v8::Global m_context; std::vector*> m_StaticObjects; - std::map> m_ConstArrays; std::set m_observers; }; -- cgit v1.2.3