Index: components/omnibox/browser/omnibox_view.cc |
diff --git a/components/omnibox/browser/omnibox_view.cc b/components/omnibox/browser/omnibox_view.cc |
index bf9f8f8d9679bee3f3da9b812b7f90956af8352b..6101defd9930f49c4836a6394128bdc0f9c8c7ee 100644 |
--- a/components/omnibox/browser/omnibox_view.cc |
+++ b/components/omnibox/browser/omnibox_view.cc |
@@ -7,6 +7,8 @@ |
#include "components/omnibox/browser/omnibox_view.h" |
+#include <utility> |
+ |
#include "base/strings/string16.h" |
#include "base/strings/string_util.h" |
#include "base/strings/utf_string_conversions.h" |
@@ -176,8 +178,7 @@ OmniboxView::OmniboxView(OmniboxEditController* controller, |
: controller_(controller) { |
// |client| can be null in tests. |
if (client) { |
- model_.reset( |
- new OmniboxEditModel(this, controller, client.Pass())); |
+ model_.reset(new OmniboxEditModel(this, controller, std::move(client))); |
} |
} |