Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1132)

Unified Diff: Source/core/frame/LocalFrame.cpp

Issue 338993003: Cleanup various WebView/WebFrame APIs to properly handle remote frames. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove unneeded header. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/frame/LocalFrame.cpp
diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp
index 11d77a1994498a37f25d7161129b24fa3f67acf9..f58763d00cd87d7926c7068587bdbce1c4ee7045 100644
--- a/Source/core/frame/LocalFrame.cpp
+++ b/Source/core/frame/LocalFrame.cpp
@@ -106,9 +106,6 @@ inline LocalFrame::LocalFrame(FrameLoaderClient* client, FrameHost* host, FrameO
PassRefPtr<LocalFrame> LocalFrame::create(FrameLoaderClient* client, FrameHost* host, FrameOwner* owner)
{
RefPtr<LocalFrame> frame = adoptRef(new LocalFrame(client, host, owner));
- // FIXME: Why is this here? RemoteFrames need this too.
- if (!frame->owner())
- frame->page()->setMainFrame(frame);
InspectorInstrumentation::frameAttachedToParent(frame.get());
return frame.release();
}
« no previous file with comments | « Source/core/frame/Frame.cpp ('k') | Source/core/page/Page.h » ('j') | Source/core/page/Page.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698