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

Unified Diff: components/policy/core/common/cloud/device_management_service.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/policy/core/common/cloud/device_management_service.cc
diff --git a/components/policy/core/common/cloud/device_management_service.cc b/components/policy/core/common/cloud/device_management_service.cc
index 284a8de5f4e86c4363539315b4ebe9e8ccaec85e..0796656919ef6f59d027b2801b83201ceb35fdc8 100644
--- a/components/policy/core/common/cloud/device_management_service.cc
+++ b/components/policy/core/common/cloud/device_management_service.cc
@@ -455,7 +455,7 @@ void DeviceManagementService::Shutdown() {
DeviceManagementService::DeviceManagementService(
scoped_ptr<Configuration> configuration)
- : configuration_(configuration.Pass()),
+ : configuration_(std::move(configuration)),
initialized_(false),
weak_ptr_factory_(this) {
DCHECK(configuration_);

Powered by Google App Engine
This is Rietveld 408576698