Index: third_party/WebKit/Source/core/dom/UserActionElementSet.cpp |
diff --git a/third_party/WebKit/Source/core/dom/UserActionElementSet.cpp b/third_party/WebKit/Source/core/dom/UserActionElementSet.cpp |
index c9ef6bf227ef4923cbc2fa86c4df7d5a6fd4fbbc..d9104a63535d1026822da8dc72e8e2d371f2728a 100644 |
--- a/third_party/WebKit/Source/core/dom/UserActionElementSet.cpp |
+++ b/third_party/WebKit/Source/core/dom/UserActionElementSet.cpp |
@@ -82,7 +82,7 @@ inline void UserActionElementSet::clearFlags(Element* element, unsigned flags) { |
unsigned updated = found->value & ~flags; |
if (!updated) { |
element->setUserActionElement(false); |
- m_elements.remove(found); |
+ m_elements.erase(found); |
return; |
} |