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

Unified Diff: components/policy/core/common/cloud/user_cloud_policy_store.cc

Issue 514143002: Manual fixups in components/policy for scoped_refptr operator T* removal (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address nits Created 6 years, 4 months 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
« no previous file with comments | « components/policy/core/common/cloud/mock_device_management_service.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/core/common/cloud/user_cloud_policy_store.cc
diff --git a/components/policy/core/common/cloud/user_cloud_policy_store.cc b/components/policy/core/common/cloud/user_cloud_policy_store.cc
index d6b926f0552d73f7bf5389ead4497da9b133df13..0d8919072ca9e1453bfc567d97a07c3c660a18b2 100644
--- a/components/policy/core/common/cloud/user_cloud_policy_store.cc
+++ b/components/policy/core/common/cloud/user_cloud_policy_store.cc
@@ -223,11 +223,12 @@ void UserCloudPolicyStore::Load() {
// Start a new Load operation and have us get called back when it is
// complete.
base::PostTaskAndReplyWithResult(
- background_task_runner(),
+ background_task_runner().get(),
FROM_HERE,
base::Bind(&LoadPolicyFromDisk, policy_path_, key_path_),
base::Bind(&UserCloudPolicyStore::PolicyLoaded,
- weak_factory_.GetWeakPtr(), true));
+ weak_factory_.GetWeakPtr(),
+ true));
}
void UserCloudPolicyStore::PolicyLoaded(bool validate_in_background,
« no previous file with comments | « components/policy/core/common/cloud/mock_device_management_service.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698