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

Unified Diff: components/policy/core/common/cloud/policy_builder.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/policy_builder.cc
diff --git a/components/policy/core/common/cloud/policy_builder.cc b/components/policy/core/common/cloud/policy_builder.cc
index e61059d4a2891443d614ace743e638e44eae9dee..debf326449b15906858cb28909c3cea9790cff95 100644
--- a/components/policy/core/common/cloud/policy_builder.cc
+++ b/components/policy/core/common/cloud/policy_builder.cc
@@ -260,7 +260,7 @@ std::string PolicyBuilder::GetBlob() {
scoped_ptr<em::PolicyFetchResponse> PolicyBuilder::GetCopy() {
scoped_ptr<em::PolicyFetchResponse> result(new em::PolicyFetchResponse());
result->CopyFrom(policy_);
- return result.Pass();
+ return result;
}
// static

Powered by Google App Engine
This is Rietveld 408576698