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) { |