Index: Source/web/WebBindings.cpp |
diff --git a/Source/web/WebBindings.cpp b/Source/web/WebBindings.cpp |
index c2c16574c0b552f8fab0b5c8284f0bacd842b163..9de70dc317500b4ea6812905d87e4a8600996af4 100644 |
--- a/Source/web/WebBindings.cpp |
+++ b/Source/web/WebBindings.cpp |
@@ -390,7 +390,7 @@ v8::Handle<v8::Value> WebBindings::toV8Value(const NPVariant* variant) |
NPObject* object = NPVARIANT_TO_OBJECT(*variant); |
V8NPObject* v8Object = npObjectToV8NPObject(object); |
if (!v8Object) |
- return v8::Undefined(); |
+ return v8::Undefined(isolate); |
return convertNPVariantToV8Object(variant, v8Object->rootObject->frame()->script()->windowScriptNPObject(), isolate); |
} |
// Safe to pass 0 since we have checked the script object class to make sure the |