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

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

Issue 2711893002: Loosen FirstMeaningfulPaint UMA network-idle heuristics (Closed)
Patch Set: add tests, rebase 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 0b2a00addeebb651512841f4d76ac2077b5857f0..91d432b90e838935c6b59de820c528b8b2982314 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
@@ -673,7 +673,7 @@ static bool shouldComplete(Document* document) {
return false;
if (!document->haveImportsLoaded())
return false;
- if (document->fetcher()->requestCount())
+ if (document->fetcher()->blockingRequestCount())
return false;
if (document->isDelayingLoadEvent())
return false;

Powered by Google App Engine
This is Rietveld 408576698