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

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

Issue 2589143003: Add 'get' prefix for Settings.in generated code. (Closed)
Patch Set: Only get prefix and no capitalization. Created 3 years, 11 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 f568d76177b5028e99d906f25507e43b7d8c49cc..4618b7daaecfa4cc11c4021bbbe362c6d6b2b065 100644
--- a/third_party/WebKit/Source/core/loader/ProgressTracker.cpp
+++ b/third_party/WebKit/Source/core/loader/ProgressTracker.cpp
@@ -137,7 +137,7 @@ void ProgressTracker::willStartLoading(unsigned long identifier,
// 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() !=
+ if (m_frame->settings()->getProgressBarCompletion() !=
ProgressBarCompletion::LoadEvent &&
(m_finishedParsing || priority < ResourceLoadPriorityHigh))
return;
@@ -187,12 +187,12 @@ void ProgressTracker::maybeSendProgress() {
DCHECK_GE(estimatedBytesForPendingRequests, bytesReceived);
if (m_finishedParsing) {
- if (m_frame->settings()->progressBarCompletion() ==
+ if (m_frame->settings()->getProgressBarCompletion() ==
ProgressBarCompletion::DOMContentLoaded) {
sendFinalProgress();
return;
}
- if (m_frame->settings()->progressBarCompletion() !=
+ if (m_frame->settings()->getProgressBarCompletion() !=
ProgressBarCompletion::LoadEvent &&
estimatedBytesForPendingRequests == bytesReceived) {
sendFinalProgress();

Powered by Google App Engine
This is Rietveld 408576698