Index: third_party/WebKit/Source/core/css/CSSStyleRule.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSStyleRule.cpp b/third_party/WebKit/Source/core/css/CSSStyleRule.cpp |
index 31860a52430899cef90757bcc3b8bb4dd5408007..a797a7c2ca632cad262aa7bbd6aca41c37bd7c8e 100644 |
--- a/third_party/WebKit/Source/core/css/CSSStyleRule.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSStyleRule.cpp |
@@ -90,7 +90,7 @@ void CSSStyleRule::setSelectorText(const String& selectorText) { |
m_styleRule->wrapperAdoptSelectorList(std::move(selectorList)); |
if (hasCachedSelectorText()) { |
- selectorTextCache().remove(this); |
+ selectorTextCache().erase(this); |
setHasCachedSelectorText(false); |
} |
} |