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

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

Issue 2709033003: Migrate WTF::HashMap::get() to ::at() (Closed)
Patch Set: rebase 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/ProgressTracker.cpp
diff --git a/third_party/WebKit/Source/core/loader/ProgressTracker.cpp b/third_party/WebKit/Source/core/loader/ProgressTracker.cpp
index fdda55adcda0d876b8aad894b9508cd99b82fdda..90b5e231fe48b62f5a94c1502d1109e4ff3adfe1 100644
--- a/third_party/WebKit/Source/core/loader/ProgressTracker.cpp
+++ b/third_party/WebKit/Source/core/loader/ProgressTracker.cpp
@@ -151,7 +151,7 @@ void ProgressTracker::willStartLoading(unsigned long identifier,
void ProgressTracker::incrementProgress(unsigned long identifier,
const ResourceResponse& response) {
- ProgressItem* item = m_progressItems.get(identifier);
+ ProgressItem* item = m_progressItems.at(identifier);
if (!item)
return;
@@ -163,7 +163,7 @@ void ProgressTracker::incrementProgress(unsigned long identifier,
}
void ProgressTracker::incrementProgress(unsigned long identifier, int length) {
- ProgressItem* item = m_progressItems.get(identifier);
+ ProgressItem* item = m_progressItems.at(identifier);
if (!item)
return;
@@ -231,7 +231,7 @@ void ProgressTracker::maybeSendProgress() {
}
void ProgressTracker::completeProgress(unsigned long identifier) {
- ProgressItem* item = m_progressItems.get(identifier);
+ ProgressItem* item = m_progressItems.at(identifier);
if (!item)
return;

Powered by Google App Engine
This is Rietveld 408576698