Index: components/omnibox/browser/omnibox_edit_model.cc |
diff --git a/components/omnibox/browser/omnibox_edit_model.cc b/components/omnibox/browser/omnibox_edit_model.cc |
index 369a77da119f09ec7fee6b8ffeb482eaa796ae6c..03311cb4064cfc25846daf449c06358f7ee1d7aa 100644 |
--- a/components/omnibox/browser/omnibox_edit_model.cc |
+++ b/components/omnibox/browser/omnibox_edit_model.cc |
@@ -6,6 +6,7 @@ |
#include <algorithm> |
#include <string> |
+#include <utility> |
#include "base/auto_reset.h" |
#include "base/format_macros.h" |
@@ -172,7 +173,7 @@ OmniboxEditModel::State::~State() { |
OmniboxEditModel::OmniboxEditModel(OmniboxView* view, |
OmniboxEditController* controller, |
scoped_ptr<OmniboxClient> client) |
- : client_(client.Pass()), |
+ : client_(std::move(client)), |
view_(view), |
controller_(controller), |
focus_state_(OMNIBOX_FOCUS_NONE), |