Index: third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp |
diff --git a/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp b/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp |
index 8681b5f662ef8c3e65a22df4ed86f580003f1605..c1b9863fcee8de311aa6baf360c8d28153228b4a 100644 |
--- a/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp |
@@ -67,7 +67,7 @@ void AbstractInlineTextBox::willDestroy(InlineTextBox* inlineTextBox) { |
gAbstractInlineTextBoxMap->find(inlineTextBox); |
if (it != gAbstractInlineTextBoxMap->end()) { |
it->value->detach(); |
- gAbstractInlineTextBoxMap->remove(inlineTextBox); |
+ gAbstractInlineTextBoxMap->erase(inlineTextBox); |
} |
} |