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

Unified Diff: components/omnibox/browser/autocomplete_controller.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/autocomplete_controller.cc
diff --git a/components/omnibox/browser/autocomplete_controller.cc b/components/omnibox/browser/autocomplete_controller.cc
index f04075272c4e52548c8832114df32099685dc8a1..df7990d9d3a932a1a58398f4c651963aad3c98f7 100644
--- a/components/omnibox/browser/autocomplete_controller.cc
+++ b/components/omnibox/browser/autocomplete_controller.cc
@@ -5,9 +5,9 @@
#include "components/omnibox/browser/autocomplete_controller.h"
#include <stddef.h>
-
#include <set>
#include <string>
+#include <utility>
#include "base/format_macros.h"
#include "base/logging.h"
@@ -172,7 +172,7 @@ AutocompleteController::AutocompleteController(
AutocompleteControllerDelegate* delegate,
int provider_types)
: delegate_(delegate),
- provider_client_(provider_client.Pass()),
+ provider_client_(std::move(provider_client)),
history_url_provider_(NULL),
keyword_provider_(NULL),
search_provider_(NULL),
« no previous file with comments | « components/omnibox/browser/autocomplete_classifier.cc ('k') | components/omnibox/browser/base_search_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698