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

Unified Diff: ui/views/controls/table/table_view.cc

Issue 1539583003: Convert Pass()→std::move() in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « ui/views/controls/styled_label.cc ('k') | ui/views/controls/textfield/textfield.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/table/table_view.cc
diff --git a/ui/views/controls/table/table_view.cc b/ui/views/controls/table/table_view.cc
index 9a282e86fc579b10f19e696b220af2297c55c1e1..aa182423489db6ddabefc37bda1ff36af4267b5e 100644
--- a/ui/views/controls/table/table_view.cc
+++ b/ui/views/controls/table/table_view.cc
@@ -5,6 +5,7 @@
#include "ui/views/controls/table/table_view.h"
#include <map>
+#include <utility>
#include "base/auto_reset.h"
#include "base/i18n/rtl.h"
@@ -176,7 +177,7 @@ View* TableView::CreateParentIfNecessary() {
void TableView::SetRowBackgroundPainter(
scoped_ptr<TableViewRowBackgroundPainter> painter) {
- row_background_painter_ = painter.Pass();
+ row_background_painter_ = std::move(painter);
}
void TableView::SetGrouper(TableGrouper* grouper) {
« no previous file with comments | « ui/views/controls/styled_label.cc ('k') | ui/views/controls/textfield/textfield.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698