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

Unified Diff: third_party/WebKit/Source/core/animation/CSSFontSizeInterpolationType.cpp

Issue 2562773002: Migrate WTF::Vector::append() to ::push_back() [part 2 of N] (Closed)
Patch Set: rebase 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/animation/CSSFontSizeInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSFontSizeInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSFontSizeInterpolationType.cpp
index 2b3f3f404f1b3cd6280b4a7206a98b2641dccd4b..3c6f82bb4180e5121b48506ca40b1c246e8d844e 100644
--- a/third_party/WebKit/Source/core/animation/CSSFontSizeInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSFontSizeInterpolationType.cpp
@@ -65,7 +65,7 @@ InterpolationValue maybeConvertKeyword(
InterpolationType::ConversionCheckers& conversionCheckers) {
if (FontSize::isValidValueID(valueID)) {
bool isMonospace = state.style()->getFontDescription().isMonospace();
- conversionCheckers.append(IsMonospaceChecker::create(isMonospace));
+ conversionCheckers.push_back(IsMonospaceChecker::create(isMonospace));
return convertFontSize(state.fontBuilder().fontSizeForKeyword(
FontSize::keywordSize(valueID), isMonospace));
}
@@ -75,7 +75,7 @@ InterpolationValue maybeConvertKeyword(
const FontDescription::Size& inheritedFontSize =
state.parentFontDescription().getSize();
- conversionCheckers.append(
+ conversionCheckers.push_back(
InheritedFontSizeChecker::create(inheritedFontSize));
if (valueID == CSSValueSmaller)
return convertFontSize(
@@ -104,7 +104,7 @@ InterpolationValue CSSFontSizeInterpolationType::maybeConvertInherit(
ConversionCheckers& conversionCheckers) const {
const FontDescription::Size& inheritedFontSize =
state.parentFontDescription().getSize();
- conversionCheckers.append(
+ conversionCheckers.push_back(
InheritedFontSizeChecker::create(inheritedFontSize));
return convertFontSize(inheritedFontSize.value);
}

Powered by Google App Engine
This is Rietveld 408576698