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

Unified Diff: third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.h

Issue 2673543003: Migrate WTF::HashMap::remove() to ::erase() (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/core/layout/shapes/ShapeOutsideInfo.h
diff --git a/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.h b/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.h
index 83cdc16ee48cef7971ce854c534cf7ac0874f063..10192d7fb7214137bcbd265dd52db5541c7b3a8d 100644
--- a/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.h
+++ b/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.h
@@ -138,7 +138,7 @@ class ShapeOutsideInfo final {
infoMap.add(&key, ShapeOutsideInfo::createInfo(key));
return *result.storedValue->value;
}
- static void removeInfo(const LayoutBox& key) { infoMap().remove(&key); }
+ static void removeInfo(const LayoutBox& key) { infoMap().erase(&key); }
static ShapeOutsideInfo* info(const LayoutBox& key) {
return infoMap().get(&key);
}

Powered by Google App Engine
This is Rietveld 408576698