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

Unified Diff: third_party/WebKit/Source/core/loader/NavigationScheduler.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/NavigationScheduler.cpp
diff --git a/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp b/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp
index f71c9d72cebed18bc0335bf7442839a649213411..497c11c53056367e0bd246248449c6588ae211af 100644
--- a/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp
+++ b/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp
@@ -496,7 +496,7 @@ void NavigationScheduler::schedule(ScheduledNavigation* redirect) {
m_frame->loader().provisionalDocumentLoader() &&
m_frame->loader().provisionalDocumentLoader()->didStart()) {
m_frame->loader().stopAllLoaders();
- if (!m_frame->host())
+ if (!m_frame->page())
return;
}

Powered by Google App Engine
This is Rietveld 408576698