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); |
} |