| Index: third_party/WebKit/Source/core/loader/FrameLoader.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.cpp b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
|
| index f108a6c88c12da44aaeccb5f074de389cf29677e..ad56d3c6e922e5c34e7736582c786f27b95c9f52 100644
|
| --- a/third_party/WebKit/Source/core/loader/FrameLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
|
| @@ -760,7 +760,7 @@ void FrameLoader::loadInSameDocument(
|
| // scroll should cancel it.
|
| detachDocumentLoader(m_provisionalDocumentLoader);
|
|
|
| - if (!m_frame->host())
|
| + if (!m_frame->page())
|
| return;
|
| saveScrollState();
|
|
|
| @@ -1649,7 +1649,7 @@ void FrameLoader::startLoad(FrameLoadRequest& frameLoadRequest,
|
|
|
| // beforeunload fired above, and detaching a DocumentLoader can fire events,
|
| // which can detach this frame.
|
| - if (!m_frame->host())
|
| + if (!m_frame->page())
|
| return;
|
|
|
| m_progressTracker->progressStarted(type);
|
|
|