diff options
author | Jochen Eisinger <jochen@chromium.org> | 2015-05-19 00:33:06 +0200 |
---|---|---|
committer | Jochen Eisinger <jochen@chromium.org> | 2015-05-19 00:33:06 +0200 |
commit | 3fea540931b6b2c700c50809a3d4d8a506f4f797 (patch) | |
tree | d71d75fa7f200b073f75d6f52af78cd32b826825 /fpdfsdk/include/javascript/JS_Object.h | |
parent | 0c94bc477b5374fea34994c00fb4de291964489e (diff) | |
download | pdfium-3fea540931b6b2c700c50809a3d4d8a506f4f797.tar.xz |
Replace v8::Handle with v8::Local and v8::Persistent with v8::Global
those types are just aliases, and we should consistently use the new version
R=tsepez@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1138823004
Diffstat (limited to 'fpdfsdk/include/javascript/JS_Object.h')
-rw-r--r-- | fpdfsdk/include/javascript/JS_Object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/include/javascript/JS_Object.h b/fpdfsdk/include/javascript/JS_Object.h index acbff840f1..a26482db6a 100644 --- a/fpdfsdk/include/javascript/JS_Object.h +++ b/fpdfsdk/include/javascript/JS_Object.h @@ -67,7 +67,7 @@ public: v8::Isolate* GetIsolate() {return m_pIsolate;} protected: CJS_EmbedObj * m_pEmbedObj; - v8::Persistent<v8::Object> m_pObject; + v8::Global<v8::Object> m_pObject; v8::Isolate* m_pIsolate; }; |