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

Unified Diff: components/policy/core/common/fake_async_policy_loader.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/fake_async_policy_loader.cc
diff --git a/components/policy/core/common/fake_async_policy_loader.cc b/components/policy/core/common/fake_async_policy_loader.cc
index 8c441e5dbed7f9f4a6b37cd8d7429a4059859969..237a0290d3d7e4188537ada98ba34f593046f23e 100644
--- a/components/policy/core/common/fake_async_policy_loader.cc
+++ b/components/policy/core/common/fake_async_policy_loader.cc
@@ -18,7 +18,7 @@ FakeAsyncPolicyLoader::FakeAsyncPolicyLoader(
scoped_ptr<PolicyBundle> FakeAsyncPolicyLoader::Load() {
scoped_ptr<PolicyBundle> result(new PolicyBundle());
result->CopyFrom(policy_bundle_);
- return result.Pass();
+ return result;
}
void FakeAsyncPolicyLoader::InitOnBackgroundThread() {

Powered by Google App Engine
This is Rietveld 408576698