Remove "using namespace v8" in header. This allows us to turn all warnings into error...
[pdfium.git] / fpdfsdk / src / javascript / JS_Object.cpp
index 07c5df2..3830b2a 100644 (file)
@@ -88,7 +88,7 @@ FX_BOOL       CJS_EmbedObj::IsSafeMode(IFXJS_Context* cc)
 }\r
 \r
 /* ---------------------------------  CJS_Object --------------------------------- */\r
-void  FreeObject(const WeakCallbackData<v8::Object, CJS_Object>& data)\r
+void  FreeObject(const v8::WeakCallbackData<v8::Object, CJS_Object>& data)\r
 {\r
        CJS_Object* pJSObj  = data.GetParameter();\r
        if(pJSObj)\r