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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSTokenizer.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/css/parser/CSSTokenizer.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/CSSTokenizer.cpp b/third_party/WebKit/Source/core/css/parser/CSSTokenizer.cpp
index d7093f6cf548f9dc6b038d6ef9216347f4db32aa..352290065cae91b791924b21486b09c06c25e035 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSTokenizer.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSTokenizer.cpp
@@ -114,7 +114,7 @@ CSSParserToken CSSTokenizer::blockStart(CSSParserTokenType blockType,
CSSParserToken CSSTokenizer::blockEnd(CSSParserTokenType type,
CSSParserTokenType startType) {
- if (!m_blockStack.isEmpty() && m_blockStack.last() == startType) {
+ if (!m_blockStack.isEmpty() && m_blockStack.back() == startType) {
m_blockStack.pop_back();
return CSSParserToken(type, CSSParserToken::BlockEnd);
}

Powered by Google App Engine
This is Rietveld 408576698