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

Unified Diff: third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.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/CSSSyntaxDescriptor.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp b/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp
index 06c1c815feec5e0c26f874607992a9ed1bbe3678..ab0da54387d878b8a8083aa33169f0484fe8f690 100644
--- a/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp
+++ b/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp
@@ -96,7 +96,7 @@ CSSSyntaxDescriptor::CSSSyntaxDescriptor(String input) {
if (consumeCharacterAndWhitespace(input, '*', offset)) {
if (offset != input.length())
return;
- m_syntaxComponents.append(
+ m_syntaxComponents.push_back(
CSSSyntaxComponent(CSSSyntaxType::TokenStream, emptyString(), false));
return;
}
@@ -120,7 +120,7 @@ CSSSyntaxDescriptor::CSSSyntaxDescriptor(String input) {
bool repeatable = consumeCharacterAndWhitespace(input, '+', offset);
consumeWhitespace(input, offset);
- m_syntaxComponents.append(CSSSyntaxComponent(type, ident, repeatable));
+ m_syntaxComponents.push_back(CSSSyntaxComponent(type, ident, repeatable));
} while (consumeCharacterAndWhitespace(input, '|', offset));
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSSegmentedFontFace.cpp ('k') | third_party/WebKit/Source/core/css/CSSValueList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698