Index: third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp |
diff --git a/third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp b/third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp |
index d3ceeea1ce0033250ffe2a52ede0875415bf17f0..239ebe5c9c4ce3567e8c7ec78b61a6ec4d1834d9 100644 |
--- a/third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp |
+++ b/third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp |
@@ -309,7 +309,7 @@ void XMLDocumentParser::popCurrentNode() { |
return; |
DCHECK(m_currentNodeStack.size()); |
m_currentNode = m_currentNodeStack.last(); |
- m_currentNodeStack.removeLast(); |
+ m_currentNodeStack.pop_back(); |
} |
void XMLDocumentParser::clearCurrentNodeStack() { |
@@ -817,7 +817,7 @@ XMLDocumentParser::XMLDocumentParser(DocumentFragment* fragment, |
if (elemStack.isEmpty()) |
return; |
- for (; !elemStack.isEmpty(); elemStack.removeLast()) { |
+ for (; !elemStack.isEmpty(); elemStack.pop_back()) { |
Element* element = elemStack.last(); |
AttributeCollection attributes = element->attributes(); |
for (auto& attribute : attributes) { |