| Index: Source/core/frame/Frame.cpp
|
| diff --git a/Source/core/frame/Frame.cpp b/Source/core/frame/Frame.cpp
|
| index 114578ab0e31aa2367b1face1931fbb990b4ad25..60cabd4959e7ed9e4dd6346ea0978e4533c421ca 100644
|
| --- a/Source/core/frame/Frame.cpp
|
| +++ b/Source/core/frame/Frame.cpp
|
| @@ -73,6 +73,8 @@ Frame::Frame(FrameClient* client, FrameHost* host, FrameOwner* owner)
|
| page()->incrementSubframeCount();
|
| if (m_owner->isLocal())
|
| toHTMLFrameOwnerElement(m_owner)->setContentFrame(*this);
|
| + } else {
|
| + page()->setMainFrame(this);
|
| }
|
| }
|
|
|
|
|