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

Unified Diff: third_party/WebKit/Source/core/loader/DocumentLoader.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/core/loader/DocumentLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
index ba90b82aa70e5e3e32e3a4f5ed2fca29cdde0e33..90c4187918135b4ca10e9970d0cc91b43fe0756c 100644
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
@@ -287,7 +287,7 @@ void DocumentLoader::notifyFinished(Resource* resource) {
void DocumentLoader::finishedLoading(double finishTime) {
DCHECK(m_frame->loader().stateMachine()->creatingInitialEmptyDocument() ||
- !m_frame->page()->defersLoading() ||
+ !m_frame->page()->suspended() ||
InspectorInstrumentation::isDebuggerPaused(m_frame));
double responseEndTime = finishTime;
@@ -481,7 +481,7 @@ void DocumentLoader::responseReceived(
}
}
- DCHECK(!m_frame->page()->defersLoading());
+ DCHECK(!m_frame->page()->suspended());
m_response = response;
@@ -563,7 +563,7 @@ void DocumentLoader::dataReceived(Resource* resource,
DCHECK(length);
DCHECK_EQ(resource, m_mainResource);
DCHECK(!m_response.isNull());
- DCHECK(!m_frame->page()->defersLoading());
+ DCHECK(!m_frame->page()->suspended());
if (m_inDataReceived) {
// If this function is reentered, defer processing of the additional data to
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/loader/FrameFetchContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698