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

Unified Diff: third_party/WebKit/Source/web/ChromeClientImpl.cpp

Issue 2526163002: Rename blink::Page's load deferral to suspension (Closed)
Patch Set: Created 4 years, 1 month 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/web/ChromeClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
index 0f7c13ce31c6d9ec55bb9c349e962872f7c94247..fa743d87d17bf4dd41fbd7376a6a0845ac3b8c7f 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
@@ -367,7 +367,7 @@ Page* ChromeClientImpl::createWindow(LocalFrame* frame,
if (!m_webView->client())
return nullptr;
- if (!frame->page() || frame->page()->defersLoading())
+ if (!frame->page() || frame->page()->suspended())
return nullptr;
WebNavigationPolicy policy =
« no previous file with comments | « third_party/WebKit/Source/core/page/ScopedPageSuspender.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698