Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Unified Diff: third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp

Issue 2459003003: WTF/std normalization: replace WTF::Vector::removeLast with ::pop_back (Closed)
Patch Set: rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {

Powered by Google App Engine
This is Rietveld 408576698