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

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

Issue 2711893002: Loosen FirstMeaningfulPaint UMA network-idle heuristics (Closed)
Patch Set: Created 3 years, 10 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 1b97f12d7356eb16609dd82bf054464bb0442093..5390f167863cea8021c4c165614aae9148adc58a 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
@@ -675,7 +675,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