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

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

Issue 2502413004: WTF/std normalization: replace WTF::Vector::last with ::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 a5e0f7125e574477ff0e9a7ae99f74b87aa91144..f9fdca6d20eb28b6259f917669b051107e529f60 100644
--- a/third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp
+++ b/third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp
@@ -307,7 +307,7 @@ void XMLDocumentParser::popCurrentNode() {
if (!m_currentNode)
return;
DCHECK(m_currentNodeStack.size());
- m_currentNode = m_currentNodeStack.last();
+ m_currentNode = m_currentNodeStack.back();
m_currentNodeStack.pop_back();
}
@@ -818,7 +818,7 @@ XMLDocumentParser::XMLDocumentParser(DocumentFragment* fragment,
return;
for (; !elemStack.isEmpty(); elemStack.pop_back()) {
- Element* element = elemStack.last();
+ Element* element = elemStack.back();
AttributeCollection attributes = element->attributes();
for (auto& attribute : attributes) {
if (attribute.localName() == xmlnsAtom)

Powered by Google App Engine
This is Rietveld 408576698