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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLParserIdioms.cpp

Issue 2583233002: Migrate WTF::Vector::append() to ::push_back() [part 7 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/html/parser/HTMLParserIdioms.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLParserIdioms.cpp b/third_party/WebKit/Source/core/html/parser/HTMLParserIdioms.cpp
index 4710b2b90d36e3a9bee53c138a051b2c302ac324..b9bf2507e090c072b8fb49ffe5355d6d081a7238 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLParserIdioms.cpp
+++ b/third_party/WebKit/Source/core/html/parser/HTMLParserIdioms.cpp
@@ -329,7 +329,7 @@ static Vector<double> parseHTMLListOfFloatingPointNumbersInternal(
size_t parsedLength = 0;
double number = charactersToDouble(
unparsedNumberStart, position - unparsedNumberStart, parsedLength);
- numbers.append(checkDoubleValue(number, parsedLength != 0, 0));
+ numbers.push_back(checkDoubleValue(number, parsedLength != 0, 0));
skipWhile<CharacterType, isSpaceOrDelimiter>(position, end);
}

Powered by Google App Engine
This is Rietveld 408576698