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

Unified Diff: components/search_engines/template_url.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.h
diff --git a/components/search_engines/template_url.h b/components/search_engines/template_url.h
index 1c377af6788bb266814e0f4b1fd600e2107771f3..c07f4282dc76485b18959ae07f29be8453e07846 100644
--- a/components/search_engines/template_url.h
+++ b/components/search_engines/template_url.h
@@ -619,7 +619,7 @@ class TemplateURL {
// This setter shouldn't be used except by TemplateURLService and
// TemplateURLServiceClient implementations.
void set_extension_info(scoped_ptr<AssociatedExtensionInfo> extension_info) {
- extension_info_ = extension_info.Pass();
+ extension_info_ = std::move(extension_info);
}
// Returns true if |url| supports replacement.
« no previous file with comments | « components/search_engines/keyword_web_data_service.cc ('k') | components/search_engines/template_url_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698