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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/RasterInvalidationTracking.h

Issue 2671933002: Migrate WTF::HashMap::add() to ::insert() (Closed)
Patch Set: rebase, add TODOs 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/platform/graphics/paint/RasterInvalidationTracking.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/RasterInvalidationTracking.h b/third_party/WebKit/Source/platform/graphics/paint/RasterInvalidationTracking.h
index 023ad0154bdea5f419312538a448b53c649729a6..3c175509332d9c84362ce30ad53fa7d1757ff3ec 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/RasterInvalidationTracking.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/RasterInvalidationTracking.h
@@ -69,7 +69,7 @@ class PLATFORM_EXPORT RasterInvalidationTrackingMap {
}
RasterInvalidationTracking& add(TargetClass* key) {
- return m_invalidationTrackingMap.add(key, RasterInvalidationTracking())
+ return m_invalidationTrackingMap.insert(key, RasterInvalidationTracking())
.storedValue->value;
}

Powered by Google App Engine
This is Rietveld 408576698