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

Unified Diff: components/policy/core/common/schema_registry_tracking_policy_provider.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/schema_registry_tracking_policy_provider.cc
diff --git a/components/policy/core/common/schema_registry_tracking_policy_provider.cc b/components/policy/core/common/schema_registry_tracking_policy_provider.cc
index 4f8e7194bb852d0b30793927355458ba51ee9e12..95ffaf1574c1d1d632b39408e15e080f77047662 100644
--- a/components/policy/core/common/schema_registry_tracking_policy_provider.cc
+++ b/components/policy/core/common/schema_registry_tracking_policy_provider.cc
@@ -4,6 +4,8 @@
#include "components/policy/core/common/schema_registry_tracking_policy_provider.h"
+#include <utility>
+
#include "components/policy/core/common/schema_map.h"
#include "components/policy/core/common/schema_registry.h"
@@ -91,7 +93,7 @@ void SchemaRegistryTrackingPolicyProvider::OnUpdatePolicy(
bundle->Get(chrome_ns).CopyFrom(delegate_->policies().Get(chrome_ns));
}
- UpdatePolicy(bundle.Pass());
+ UpdatePolicy(std::move(bundle));
}
} // namespace policy

Powered by Google App Engine
This is Rietveld 408576698