Index: Source/web/WebBindings.cpp |
diff --git a/Source/web/WebBindings.cpp b/Source/web/WebBindings.cpp |
index 3c26df81e50fef688e834b20e7100f33879e13df..e7bd4948c905831bc5c90f9e50331c84799aba8f 100644 |
--- a/Source/web/WebBindings.cpp |
+++ b/Source/web/WebBindings.cpp |
@@ -391,7 +391,7 @@ v8::Handle<v8::Value> WebBindings::toV8Value(const NPVariant* variant) |
V8NPObject* v8Object = npObjectToV8NPObject(object); |
if (!v8Object) |
return v8::Undefined(isolate); |
- return convertNPVariantToV8Object(variant, v8Object->rootObject->frame()->script()->windowScriptNPObject(), 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 |
// argument is a primitive v8 type. |