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

Unified Diff: third_party/WebKit/Source/core/loader/FrameLoader.cpp

Issue 2769263004: Remove Frame::host() method (Closed)
Patch Set: Created 3 years, 9 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: 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);

Powered by Google App Engine
This is Rietveld 408576698