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; |
} |