Index: fpdfsdk/include/javascript/JS_Object.h |
diff --git a/fpdfsdk/include/javascript/JS_Object.h b/fpdfsdk/include/javascript/JS_Object.h |
index 9fd7bff3d493f11436959b550784711c2d41b53e..a7772f1cf9503ce3024e67d10060bbe02b863691 100644 |
--- a/fpdfsdk/include/javascript/JS_Object.h |
+++ b/fpdfsdk/include/javascript/JS_Object.h |
@@ -48,7 +48,7 @@ class CJS_EmbedObj { |
class CJS_Object { |
public: |
- explicit CJS_Object(JSFXObject pObject); |
+ explicit CJS_Object(v8::Local<v8::Object> pObject); |
virtual ~CJS_Object(); |
void MakeWeak(); |
@@ -60,7 +60,7 @@ class CJS_Object { |
virtual FX_BOOL InitInstance(IFXJS_Context* cc) { return TRUE; } |
virtual FX_BOOL ExitInstance() { return TRUE; } |
- operator JSFXObject() { |
+ operator v8::Local<v8::Object>() { |
return v8::Local<v8::Object>::New(m_pIsolate, m_pObject); |
} |