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

Unified Diff: components/component_updater/component_updater_service.cc

Issue 1477643002: Remove the TYPE_WITH_MOVE_CONSTRUCTOR_FOR_CPP_03 macro. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@basepass
Patch Set: type-with-move: no-media 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/component_updater/component_updater_service.cc
diff --git a/components/component_updater/component_updater_service.cc b/components/component_updater/component_updater_service.cc
index 1c49d262e8ddcb518fccc5077a33f1370441d2f9..490e5c41c0cf056eacf64dca05b589886a62fbd9 100644
--- a/components/component_updater/component_updater_service.cc
+++ b/components/component_updater/component_updater_service.cc
@@ -352,7 +352,7 @@ scoped_ptr<ComponentUpdateService> ComponentUpdateServiceFactory(
DCHECK(config);
auto update_client = update_client::UpdateClientFactory(config);
return scoped_ptr<ComponentUpdateService>(
- new CrxUpdateService(config, update_client.Pass()));
+ new CrxUpdateService(config, std::move(update_client)));
}
} // namespace component_updater

Powered by Google App Engine
This is Rietveld 408576698