Index: Source/bindings/v8/V8NPObject.cpp |
diff --git a/Source/bindings/v8/V8NPObject.cpp b/Source/bindings/v8/V8NPObject.cpp |
index e5aaf6e480f6d582aa50523dd5fa38d89180ee58..137e12509943463eb607a45e056bddfd554206cc 100644 |
--- a/Source/bindings/v8/V8NPObject.cpp |
+++ b/Source/bindings/v8/V8NPObject.cpp |
@@ -415,14 +415,12 @@ inline void DOMWrapperMap<NPObject>::makeWeakCallback(v8::Isolate* isolate, v8:: |
_NPN_ReleaseObject(npObject); |
} |
-v8::Local<v8::Object> createV8ObjectForNPObject(NPObject* object, NPObject* root) |
+v8::Local<v8::Object> createV8ObjectForNPObject(NPObject* object, NPObject* root, v8::Isolate* isolate) |
{ |
static v8::Eternal<v8::FunctionTemplate> npObjectDesc; |
ASSERT(v8::Context::InContext()); |
- v8::Isolate* isolate = v8::Isolate::GetCurrent(); |
- |
// If this is a v8 object, just return it. |
V8NPObject* v8NPObject = npObjectToV8NPObject(object); |
if (v8NPObject) |