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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSTokenizerTest.cpp

Issue 2566403003: Migrate WTF::Vector::append() to ::push_back() [part 3 of N] (Closed)
Patch Set: Created 4 years 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/CSSTokenizerTest.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/CSSTokenizerTest.cpp b/third_party/WebKit/Source/core/css/parser/CSSTokenizerTest.cpp
index 7095f86ee6b4dd282c6660a512375fbd22f15eaf..95688c0c29e4086a413f5fc1464eaad6b26a364a 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSTokenizerTest.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSTokenizerTest.cpp
@@ -62,11 +62,11 @@ void testTokens(const String& string,
const CSSParserToken& token2 = CSSParserToken(EOFToken),
const CSSParserToken& token3 = CSSParserToken(EOFToken)) {
Vector<CSSParserToken> expectedTokens;
- expectedTokens.append(token1);
+ expectedTokens.push_back(token1);
if (token2.type() != EOFToken) {
- expectedTokens.append(token2);
+ expectedTokens.push_back(token2);
if (token3.type() != EOFToken)
- expectedTokens.append(token3);
+ expectedTokens.push_back(token3);
}
CSSParserTokenRange expected(expectedTokens);

Powered by Google App Engine
This is Rietveld 408576698