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

Unified Diff: ui/views/controls/textfield/textfield_model.cc

Issue 2230183002: ui: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 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
« no previous file with comments | « ui/views/controls/menu/native_menu_win.cc ('k') | ui/views/focus/view_storage.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/textfield/textfield_model.cc
diff --git a/ui/views/controls/textfield/textfield_model.cc b/ui/views/controls/textfield/textfield_model.cc
index bdcb55238490a0119c261a06d7c2325528842c12..db8e92466851cd4ee3957ead1ae6e7cb0ae9e371 100644
--- a/ui/views/controls/textfield/textfield_model.cc
+++ b/ui/views/controls/textfield/textfield_model.cc
@@ -706,7 +706,7 @@ bool TextfieldModel::HasCompositionText() const {
}
void TextfieldModel::ClearEditHistory() {
- STLDeleteElements(&edit_history_);
+ base::STLDeleteElements(&edit_history_);
current_edit_ = edit_history_.end();
}
@@ -755,7 +755,7 @@ void TextfieldModel::ClearRedoHistory() {
}
EditHistory::iterator delete_start = current_edit_;
++delete_start;
- STLDeleteContainerPointers(delete_start, edit_history_.end());
+ base::STLDeleteContainerPointers(delete_start, edit_history_.end());
edit_history_.erase(delete_start, edit_history_.end());
}
« no previous file with comments | « ui/views/controls/menu/native_menu_win.cc ('k') | ui/views/focus/view_storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698