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

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

Issue 2743023002: Migrate WTF::Deque::append() to ::push_back() (Closed)
Patch Set: rebase Created 3 years, 9 months 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.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/FormController.cpp b/third_party/WebKit/Source/core/html/forms/FormController.cpp
index 02cf26aac76865070bdae0f2cfb539967db8897b..83bacc49bf302d5349dbbdf3e0ff2d259d86b279 100644
--- a/third_party/WebKit/Source/core/html/forms/FormController.cpp
+++ b/third_party/WebKit/Source/core/html/forms/FormController.cpp
@@ -259,10 +259,10 @@ void SavedFormState::appendControlState(const AtomicString& name,
FormElementKey key(name.impl(), type.impl());
FormElementStateMap::iterator it = m_stateForNewFormElements.find(key);
if (it != m_stateForNewFormElements.end()) {
- it->value.append(state);
+ it->value.push_back(state);
} else {
Deque<FormControlState> stateList;
- stateList.append(state);
+ stateList.push_back(state);
m_stateForNewFormElements.set(key, stateList);
}
m_controlStateCount++;

Powered by Google App Engine
This is Rietveld 408576698