Index: third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp |
diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp b/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp |
index a82c6e54ae458a1fa0d1a073061914984b497909..59ce1f25cb66445ee315369d1a5bff2d112a1e76 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp |
@@ -188,7 +188,7 @@ bool CSSParserImpl::parseDeclarationList(MutableStylePropertySet* declaration, |
filterProperties(false, parser.m_parsedProperties, results, unusedEntries, |
seenProperties, seenCustomProperties); |
if (unusedEntries) |
- results.remove(0, unusedEntries); |
+ results.erase(0, unusedEntries); |
return declaration->addParsedProperties(results); |
} |
@@ -316,7 +316,7 @@ ImmutableStylePropertySet* CSSParserImpl::parseCustomPropertySet( |
// a different StyleRule type |
for (size_t i = parser.m_parsedProperties.size(); i--;) { |
if (parser.m_parsedProperties[i].id() == CSSPropertyApplyAtRule) |
- parser.m_parsedProperties.remove(i); |
+ parser.m_parsedProperties.erase(i); |
} |
return createStylePropertySet(parser.m_parsedProperties, HTMLStandardMode); |