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

Unified Diff: third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl

Issue 2610893005: Migrate WTF::Vector::append() to ::push_back() [part 16 of N] (Closed)
Patch Set: rebase Created 3 years, 11 months 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
« no previous file with comments | « third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl
diff --git a/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl b/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl
index 2b202188490d5e323b72e42a3e29bdbe3214776d..cd223572d9376a6a646d17847e77ff67ec0ef44b 100644
--- a/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl
@@ -100,7 +100,7 @@ namespace blink {
{{declare_initial_function(property_id)}} {
CSS{{animation}}Data& data = state.style()->access{{animation}}s();
data.{{vector}}.clear();
- data.{{vector}}.append(CSS{{animation}}Data::initial{{attribute}}());
+ data.{{vector}}.push_back(CSS{{animation}}Data::initial{{attribute}}());
}
{{declare_inherit_function(property_id)}} {
@@ -115,7 +115,7 @@ namespace blink {
CSS{{animation}}Data& data = state.style()->access{{animation}}s();
data.{{vector}}.clear();
for (auto& listValue : toCSSValueList(value))
- data.{{vector}}.append(CSSToStyleMap::mapAnimation{{attribute}}(*listValue));
+ data.{{vector}}.push_back(CSSToStyleMap::mapAnimation{{attribute}}(*listValue));
}
{% endmacro %}
{{apply_animation('CSSPropertyAnimationDelay', 'Delay', 'Animation')}}
« no previous file with comments | « third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698