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

Unified Diff: third_party/WebKit/Source/core/css/cssom/CSSUnparsedValueTest.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/cssom/CSSUnparsedValueTest.cpp
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSUnparsedValueTest.cpp b/third_party/WebKit/Source/core/css/cssom/CSSUnparsedValueTest.cpp
index 94a24cf9f63b100f29c5355b38eb7a5609d75b75..33353df26693dae1c0247876c9a64653128adf24 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSUnparsedValueTest.cpp
+++ b/third_party/WebKit/Source/core/css/cssom/CSSUnparsedValueTest.cpp
@@ -14,7 +14,7 @@ namespace {
CSSUnparsedValue* unparsedValueFromCSSVariableReferenceValue(
CSSStyleVariableReferenceValue* variableReferenceValue) {
HeapVector<StringOrCSSVariableReferenceValue> fragments;
- fragments.append(
+ fragments.push_back(
StringOrCSSVariableReferenceValue::fromCSSVariableReferenceValue(
variableReferenceValue));
return CSSUnparsedValue::create(fragments);
@@ -65,11 +65,11 @@ TEST(CSSUnparsedValueTest, MixedList) {
"Ref", CSSUnparsedValue::fromString("string"));
HeapVector<StringOrCSSVariableReferenceValue> fragments;
- fragments.append(StringOrCSSVariableReferenceValue::fromString("string"));
- fragments.append(
+ fragments.push_back(StringOrCSSVariableReferenceValue::fromString("string"));
+ fragments.push_back(
StringOrCSSVariableReferenceValue::fromCSSVariableReferenceValue(
variableReferenceValue));
- fragments.append(StringOrCSSVariableReferenceValue());
+ fragments.push_back(StringOrCSSVariableReferenceValue());
CSSUnparsedValue* unparsedValue = CSSUnparsedValue::create(fragments);

Powered by Google App Engine
This is Rietveld 408576698