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

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

Issue 2711893002: Loosen FirstMeaningfulPaint UMA network-idle heuristics (Closed)
Patch Set: Capture 0-stable and 2-stable independently 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 106c4f26e566f077b9d9832b1beb426dc3fb2e7a..0b951ab7f839d2d96d2e27ba4b08e0d7512b33d5 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