Index: ui/views/controls/textfield/textfield.cc |
diff --git a/ui/views/controls/textfield/textfield.cc b/ui/views/controls/textfield/textfield.cc |
index 4e8ec8713a52c897cb114eb4f56d31964248f64d..84c0fc343b2c0f1efed5d73b31535f7fffb52e09 100644 |
--- a/ui/views/controls/textfield/textfield.cc |
+++ b/ui/views/controls/textfield/textfield.cc |
@@ -5,6 +5,7 @@ |
#include "ui/views/controls/textfield/textfield.h" |
#include <string> |
+#include <utility> |
#include "base/trace_event/trace_event.h" |
#include "ui/accessibility/ax_view_state.h" |
@@ -563,7 +564,7 @@ void Textfield::ExecuteCommand(int command_id) { |
} |
void Textfield::SetFocusPainter(scoped_ptr<Painter> focus_painter) { |
- focus_painter_ = focus_painter.Pass(); |
+ focus_painter_ = std::move(focus_painter); |
} |
bool Textfield::HasTextBeingDragged() { |