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

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

Issue 2383403002: Reflow comments in core/loader (Closed)
Patch Set: yhirano comments Created 4 years, 2 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/ProgressTracker.cpp
diff --git a/third_party/WebKit/Source/core/loader/ProgressTracker.cpp b/third_party/WebKit/Source/core/loader/ProgressTracker.cpp
index 07f7a5c2fdbb60a3cdaf6341561003a7054292ec..098155271e5c498fd4aab8a2ea584b37414b91bc 100644
--- a/third_party/WebKit/Source/core/loader/ProgressTracker.cpp
+++ b/third_party/WebKit/Source/core/loader/ProgressTracker.cpp
@@ -133,9 +133,10 @@ void ProgressTracker::willStartLoading(unsigned long identifier,
ResourceLoadPriority priority) {
if (!m_frame->isLoading())
return;
- // All of the progress bar completion policies besides LoadEvent instead block on parsing
- // completion, which corresponds to finishing parsing. For those policies, don't consider
- // resource load that start after DOMContentLoaded finishes.
+ // All of the progress bar completion policies besides LoadEvent instead block
+ // on parsing completion, which corresponds to finishing parsing. For those
+ // policies, don't consider resource load that start after DOMContentLoaded
+ // finishes.
if (m_frame->settings()->progressBarCompletion() !=
ProgressBarCompletion::LoadEvent &&
(m_finishedParsing || priority < ResourceLoadPriorityHigh))

Powered by Google App Engine
This is Rietveld 408576698