From 3fea540931b6b2c700c50809a3d4d8a506f4f797 Mon Sep 17 00:00:00 2001 From: Jochen Eisinger Date: Tue, 19 May 2015 00:33:06 +0200 Subject: 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 --- fpdfsdk/include/javascript/JS_Runtime.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fpdfsdk/include/javascript/JS_Runtime.h') diff --git a/fpdfsdk/include/javascript/JS_Runtime.h b/fpdfsdk/include/javascript/JS_Runtime.h index 5326db693d..1f51638bf9 100644 --- a/fpdfsdk/include/javascript/JS_Runtime.h +++ b/fpdfsdk/include/javascript/JS_Runtime.h @@ -58,7 +58,7 @@ public: v8::Isolate* GetIsolate(){return m_isolate;}; void SetIsolate(v8::Isolate* isolate){m_isolate = isolate;} - v8::Handle NewJSContext(); + v8::Local NewJSContext(); protected: CFX_ArrayTemplate m_ContextArray; CPDFDoc_Environment* m_pApp; @@ -69,7 +69,7 @@ protected: v8::Isolate* m_isolate; nonstd::unique_ptr m_pArrayBufferAllocator; - v8::Persistent m_context; + v8::Global m_context; }; #endif //_JS_RUNTIME_H_ -- cgit v1.2.3