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

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

Issue 2671933002: Migrate WTF::HashMap::add() to ::insert() (Closed)
Patch Set: 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/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 45ff6a45986608f0ed33cf7a765950427967df7d..adfea0adb3f6cdc7e490c236f00804f608ed6312 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