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

Unified Diff: third_party/WebKit/Source/core/html/HTMLInputElement.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/HTMLInputElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
index 753e28acf2345a9bb0c0f70f73041f4d81bb2e25..0c5cc0b1daedc8231c692ff55305b4d1db5744f5 100644
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
@@ -1363,7 +1363,7 @@ static Vector<String> parseAcceptAttribute(const String& acceptString,
continue;
if (!predicate(trimmedType))
continue;
- types.append(trimmedType.lower());
+ types.push_back(trimmedType.lower());
}
return types;
@@ -1600,7 +1600,7 @@ HTMLInputElement::filteredDataListOptions() const {
// TODO(tkent): Should allow invalid strings. crbug.com/607097.
if (!isValidValue(option->value()))
continue;
- filtered.append(option);
+ filtered.push_back(option);
}
return filtered;
}
@@ -1833,7 +1833,7 @@ bool HTMLInputElement::setupDateTimeChooserParameters(
suggestion.localizedValue = localizeValue(option->value());
suggestion.label =
option->value() == option->label() ? String() : option->label();
- parameters.suggestions.append(suggestion);
+ parameters.suggestions.push_back(suggestion);
}
}
return true;

Powered by Google App Engine
This is Rietveld 408576698