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

Unified Diff: components/omnibox/browser/omnibox_edit_model.cc

Issue 1548203002: Convert Pass()→std::move() in //components/[n-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad headers 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
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),
« no previous file with comments | « components/omnibox/browser/mock_autocomplete_provider_client.h ('k') | components/omnibox/browser/omnibox_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698