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

Unified Diff: third_party/WebKit/Source/core/html/forms/FormController.h

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/FormController.h
diff --git a/third_party/WebKit/Source/core/html/forms/FormController.h b/third_party/WebKit/Source/core/html/forms/FormController.h
index 6aadcfa5c0aaf4a7c7587628d41b253c3047ed71..871cd174df6f14a7e91a1d81644beb5a9951f7d8 100644
--- a/third_party/WebKit/Source/core/html/forms/FormController.h
+++ b/third_party/WebKit/Source/core/html/forms/FormController.h
@@ -44,7 +44,7 @@ class FormControlState {
public:
FormControlState() : m_type(TypeSkip) {}
explicit FormControlState(const String& value) : m_type(TypeRestore) {
- m_values.append(value);
+ m_values.push_back(value);
}
static FormControlState deserialize(const Vector<String>& stateVector,
size_t& index);
@@ -75,7 +75,7 @@ inline FormControlState& FormControlState::operator=(
inline void FormControlState::append(const String& value) {
m_type = TypeRestore;
- m_values.append(value);
+ m_values.push_back(value);
}
using SavedFormStateMap =

Powered by Google App Engine
This is Rietveld 408576698