| 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();
|
| }
|
|
|