Index: Source/bindings/v8/custom/V8HTMLFrameElementCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8HTMLFrameElementCustom.cpp b/Source/bindings/v8/custom/V8HTMLFrameElementCustom.cpp |
index 10164ec885c8635a3fedeca5b94d0da3cd9b89f7..18af1e9ff1ed4bf8b29bf6c40b09508b219f83f7 100644 |
--- a/Source/bindings/v8/custom/V8HTMLFrameElementCustom.cpp |
+++ b/Source/bindings/v8/custom/V8HTMLFrameElementCustom.cpp |
@@ -42,7 +42,7 @@ using namespace HTMLNames; |
void V8HTMLFrameElement::locationAttrSetterCustom(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info) |
{ |
- HTMLFrameElement* frame = V8HTMLFrameElement::toNative(info.Holder()); |
+ Handle<HTMLFrameElement> frame = adoptRawResult(V8HTMLFrameElement::toNative(info.Holder())); |
String locationValue = toWebCoreStringWithNullCheck(value); |
if (!BindingSecurity::allowSettingFrameSrcToJavascriptUrl(BindingState::instance(), frame, locationValue)) |