Index: third_party/WebKit/Source/core/css/CSSStyleSheet.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSStyleSheet.cpp b/third_party/WebKit/Source/core/css/CSSStyleSheet.cpp |
index b0e817459afb0336d2d95b3f16665bb7f2ca86d3..a2df4c1f4a2145eef0a38932beba40ee96a8c100 100644 |
--- a/third_party/WebKit/Source/core/css/CSSStyleSheet.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSStyleSheet.cpp |
@@ -339,7 +339,7 @@ void CSSStyleSheet::deleteRule(unsigned index, ExceptionState& exceptionState) { |
if (!m_childRuleCSSOMWrappers.isEmpty()) { |
if (m_childRuleCSSOMWrappers[index]) |
m_childRuleCSSOMWrappers[index]->setParentStyleSheet(0); |
- m_childRuleCSSOMWrappers.remove(index); |
+ m_childRuleCSSOMWrappers.erase(index); |
} |
} |