Index: fxjs/fxjs_v8.cpp |
diff --git a/fxjs/fxjs_v8.cpp b/fxjs/fxjs_v8.cpp |
index c98de070ab1cc1d0c8d975b355ec04aedc159643..8595ac8a71bfe955e35ba7f7877bbef7276c0493 100644 |
--- a/fxjs/fxjs_v8.cpp |
+++ b/fxjs/fxjs_v8.cpp |
@@ -779,25 +779,11 @@ v8::Local<v8::Value> FXJS_NewBoolean(v8::Isolate* pIsolate, bool b) { |
return v8::Boolean::New(pIsolate, b); |
} |
-v8::Local<v8::Value> FXJS_NewObject(v8::Isolate* pIsolate, |
- v8::Local<v8::Object> pObj) { |
- if (pObj.IsEmpty()) |
- return v8::Local<v8::Value>(); |
- return pObj->Clone(); |
-} |
- |
-v8::Local<v8::Value> FXJS_NewObject2(v8::Isolate* pIsolate, |
- v8::Local<v8::Array> pObj) { |
- if (pObj.IsEmpty()) |
- return v8::Local<v8::Value>(); |
- return pObj->Clone(); |
-} |
- |
v8::Local<v8::Value> FXJS_NewString(v8::Isolate* pIsolate, const wchar_t* str) { |
return FXJS_WSToJSString(pIsolate, str); |
} |
-v8::Local<v8::Value> FXJS_NewNull() { |
+v8::Local<v8::Value> FXJS_NewNull(v8::Isolate* pIsolate) { |
return v8::Local<v8::Value>(); |
} |