Index: Source/bindings/core/v8/WindowProxy.cpp |
diff --git a/Source/bindings/core/v8/WindowProxy.cpp b/Source/bindings/core/v8/WindowProxy.cpp |
index a43a585de193b0ae502c7b5e675ac2a41dd4cc05..3cd01dabbe57b1276b776a5304f9a8587196c8e8 100644 |
--- a/Source/bindings/core/v8/WindowProxy.cpp |
+++ b/Source/bindings/core/v8/WindowProxy.cpp |
@@ -430,7 +430,7 @@ static v8::Handle<v8::Value> getNamedProperty(HTMLDocument* htmlDocument, const |
return toV8(frame->domWindow(), creationContext, isolate); |
return toV8(element, creationContext, isolate); |
} |
- return toV8(items.release(), creationContext, isolate); |
+ return toV8(PassRefPtrWillBeRawPtr<HTMLCollection>(items.release()), creationContext, isolate); |
} |
static void getter(v8::Local<v8::String> property, const v8::PropertyCallbackInfo<v8::Value>& info) |