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

Unified Diff: third_party/WebKit/Source/core/html/forms/ColorInputType.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/forms/ColorInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/ColorInputType.cpp b/third_party/WebKit/Source/core/html/forms/ColorInputType.cpp
index 0f3b9e24264f34840957b4e36e824721e2004f13..d9d3e793d8e3497687dde3d92fb5a71e971d7e8c 100644
--- a/third_party/WebKit/Source/core/html/forms/ColorInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/ColorInputType.cpp
@@ -252,7 +252,7 @@ Vector<ColorSuggestion> ColorInputType::suggestions() const {
continue;
ColorSuggestion suggestion(
color, option->label().left(maxSuggestionLabelLength));
- suggestions.append(suggestion);
+ suggestions.push_back(suggestion);
if (suggestions.size() >= maxSuggestions)
break;
}

Powered by Google App Engine
This is Rietveld 408576698