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

Unified Diff: components/omnibox/browser/shortcuts_backend.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/shortcuts_backend.cc
diff --git a/components/omnibox/browser/shortcuts_backend.cc b/components/omnibox/browser/shortcuts_backend.cc
index 8bfa6e6764adfa7c776a06934c2689b7a4143f24..f020ed10799e92cb4c09d3451ecda8bf38036d96 100644
--- a/components/omnibox/browser/shortcuts_backend.cc
+++ b/components/omnibox/browser/shortcuts_backend.cc
@@ -5,9 +5,9 @@
#include "components/omnibox/browser/shortcuts_backend.h"
#include <stddef.h>
-
#include <map>
#include <string>
+#include <utility>
#include <vector>
#include "base/bind.h"
@@ -72,7 +72,7 @@ ShortcutsBackend::ShortcutsBackend(
base::FilePath database_path,
bool suppress_db)
: template_url_service_(template_url_service),
- search_terms_data_(search_terms_data.Pass()),
+ search_terms_data_(std::move(search_terms_data)),
current_state_(NOT_INITIALIZED),
history_service_observer_(this),
main_runner_(base::ThreadTaskRunnerHandle::Get()),
« no previous file with comments | « components/omnibox/browser/search_suggestion_parser.cc ('k') | components/omnibox/browser/suggestion_answer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698