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)) |