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

Unified Diff: components/search_engines/template_url_service.h

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/search_engines/template_url_service.h
diff --git a/components/search_engines/template_url_service.h b/components/search_engines/template_url_service.h
index cec22516a8ccbf9438ce4bb73d70b6366452b0f8..751d5ca9003e9be456420560e7c2ad83babad315 100644
--- a/components/search_engines/template_url_service.h
+++ b/components/search_engines/template_url_service.h
@@ -6,11 +6,11 @@
#define COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_H_
#include <stddef.h>
-
#include <list>
#include <map>
#include <set>
#include <string>
+#include <utility>
#include <vector>
#include "base/callback_list.h"
@@ -384,7 +384,7 @@ class TemplateURLService : public WebDataServiceConsumer,
const syncer::SyncDataList& sync_data);
#if defined(UNIT_TEST)
- void set_clock(scoped_ptr<base::Clock> clock) { clock_ = clock.Pass(); }
+ void set_clock(scoped_ptr<base::Clock> clock) { clock_ = std::move(clock); }
#endif
private:
« no previous file with comments | « components/search_engines/template_url_prepopulate_data.cc ('k') | components/search_engines/template_url_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698