Index: fpdfsdk/src/javascript/JS_Object.cpp |
diff --git a/fpdfsdk/src/javascript/JS_Object.cpp b/fpdfsdk/src/javascript/JS_Object.cpp |
index 02978982d89d4da07ffdef47e8ffc5bdbf376087..17e987d96aca42881bd091f20196ab1f79668860 100644 |
--- a/fpdfsdk/src/javascript/JS_Object.cpp |
+++ b/fpdfsdk/src/javascript/JS_Object.cpp |
@@ -83,7 +83,7 @@ void DisposeObject(const v8::WeakCallbackInfo<CJS_Object>& data) { |
data.SetSecondPassCallback(FreeObject); |
} |
-CJS_Object::CJS_Object(JSFXObject pObject) : m_pEmbedObj(NULL) { |
+CJS_Object::CJS_Object(v8::Local<v8::Object> pObject) : m_pEmbedObj(NULL) { |
v8::Local<v8::Context> context = pObject->CreationContext(); |
m_pIsolate = context->GetIsolate(); |
m_pObject.Reset(m_pIsolate, pObject); |