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

Unified Diff: third_party/WebKit/Source/core/css/cssom/StyleValueFactory.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/StyleValueFactory.cpp
diff --git a/third_party/WebKit/Source/core/css/cssom/StyleValueFactory.cpp b/third_party/WebKit/Source/core/css/cssom/StyleValueFactory.cpp
index 788e10e6f7cb21ece391c2ea39862c1e94dbfd4a..70a5f9b6323c3533dd135bc30f111b633e20634c 100644
--- a/third_party/WebKit/Source/core/css/cssom/StyleValueFactory.cpp
+++ b/third_party/WebKit/Source/core/css/cssom/StyleValueFactory.cpp
@@ -52,7 +52,7 @@ CSSStyleValue* styleValueForProperty(CSSPropertyID propertyID,
CSSStyleValueVector unsupportedCSSValue(const CSSValue& value) {
CSSStyleValueVector styleValueVector;
- styleValueVector.append(CSSUnsupportedStyleValue::create(value.cssText()));
+ styleValueVector.push_back(CSSUnsupportedStyleValue::create(value.cssText()));
return styleValueVector;
}
@@ -64,7 +64,7 @@ CSSStyleValueVector StyleValueFactory::cssValueToStyleValueVector(
CSSStyleValueVector styleValueVector;
CSSStyleValue* styleValue = styleValueForProperty(propertyID, value);
if (styleValue) {
- styleValueVector.append(styleValue);
+ styleValueVector.push_back(styleValue);
return styleValueVector;
}
@@ -79,7 +79,7 @@ CSSStyleValueVector StyleValueFactory::cssValueToStyleValueVector(
if (!styleValue) {
return unsupportedCSSValue(value);
}
- styleValueVector.append(styleValue);
+ styleValueVector.push_back(styleValue);
}
return styleValueVector;
}

Powered by Google App Engine
This is Rietveld 408576698