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

Unified Diff: third_party/WebKit/Source/platform/WebIconSizesParser.cpp

Issue 2615813003: Migrate WTF::Vector::append() to ::push_back() [part 14 of N] (Closed)
Patch Set: rebase, small fix in FontSettings.h 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
Index: third_party/WebKit/Source/platform/WebIconSizesParser.cpp
diff --git a/third_party/WebKit/Source/platform/WebIconSizesParser.cpp b/third_party/WebKit/Source/platform/WebIconSizesParser.cpp
index 1303dce39753dcff6bff85e84563df3593f162c6..4652fc2e1baf1e033a272643e65b16f0dddc1062 100644
--- a/third_party/WebKit/Source/platform/WebIconSizesParser.cpp
+++ b/third_party/WebKit/Source/platform/WebIconSizesParser.cpp
@@ -66,7 +66,7 @@ WebVector<WebSize> WebIconSizesParser::parseIconSizes(
// See if the current size is "any".
if (sizesString.findIgnoringCase("any", i) == i &&
(i + 3 == length || isWhitespace(sizesString[i + 3]))) {
- iconSizes.append(WebSize(0, 0));
+ iconSizes.push_back(WebSize(0, 0));
i = i + 3;
continue;
}
@@ -98,7 +98,7 @@ WebVector<WebSize> WebIconSizesParser::parseIconSizes(
unsigned heightEnd = i;
// Append the parsed size to iconSizes.
- iconSizes.append(
+ iconSizes.push_back(
WebSize(partialStringToInt(sizesString, widthStart, widthEnd),
partialStringToInt(sizesString, heightStart, heightEnd)));
}
« no previous file with comments | « third_party/WebKit/Source/platform/TimerTest.cpp ('k') | third_party/WebKit/Source/platform/WebVectorTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698