Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
index efb207f65b279a3bf341eb30af1b61ef07de3b59..f6a78101561b74f08aca2d18f7efcb76595e4258 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -1648,7 +1648,7 @@ WebLocalFrameImpl* WebLocalFrameImpl::create(WebTreeScopeType scope, WebFrameCli |
WebLocalFrameImpl* WebLocalFrameImpl::createProvisional(WebFrameClient* client, WebRemoteFrame* oldWebFrame, WebSandboxFlags flags, const WebFrameOwnerProperties& frameOwnerProperties) |
{ |
- RefPtrWillBeRawPtr<WebLocalFrameImpl> webFrame = adoptRef(new WebLocalFrameImpl(oldWebFrame, client)); |
+ RefPtrWillBeRawPtr<WebLocalFrameImpl> webFrame = adoptRefWillBeNoop(new WebLocalFrameImpl(oldWebFrame, client)); |
Frame* oldFrame = oldWebFrame->toImplBase()->frame(); |
webFrame->setParent(oldWebFrame->parent()); |
webFrame->setOpener(oldWebFrame->opener()); |