Index: Source/bindings/v8/custom/V8HTMLFrameSetElementCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8HTMLFrameSetElementCustom.cpp b/Source/bindings/v8/custom/V8HTMLFrameSetElementCustom.cpp |
index 42392c7189f66e6996c7f44778fe8d919151d128..9375e68320511a757db76a400f338c137c69f5cf 100644 |
--- a/Source/bindings/v8/custom/V8HTMLFrameSetElementCustom.cpp |
+++ b/Source/bindings/v8/custom/V8HTMLFrameSetElementCustom.cpp |
@@ -47,7 +47,7 @@ namespace WebCore { |
v8::Handle<v8::Value> V8HTMLFrameSetElement::namedPropertyGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) |
{ |
HandleScope handleScope; |
- HTMLFrameSetElement* imp = V8HTMLFrameSetElement::toNative(info.Holder()); |
+ Handle<HTMLFrameSetElement> imp = adoptRawResult(V8HTMLFrameSetElement::toNative(info.Holder())); |
Handle<Node> frameNode = imp->children()->namedItem(toWebCoreAtomicString(name)); |
if (!frameNode) |
return v8Undefined(); |
@@ -58,7 +58,7 @@ v8::Handle<v8::Value> V8HTMLFrameSetElement::namedPropertyGetter(v8::Local<v8::S |
return v8Undefined(); |
if (!document->frame()) |
return v8Undefined(); |
- return toV8Fast(document->domWindow(), info, imp); |
+ return toV8Fast(document->domWindow(), info, imp.raw()); |
} |
} // namespace WebCore |