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

Unified Diff: components/policy/core/common/policy_loader_mac_unittest.cc

Issue 1144153004: components: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 years, 7 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
Index: components/policy/core/common/policy_loader_mac_unittest.cc
diff --git a/components/policy/core/common/policy_loader_mac_unittest.cc b/components/policy/core/common/policy_loader_mac_unittest.cc
index 3fcc78502abb834702b0ba2792ab86d55c4b2cc8..ec18d311805c09ba468688d0dd664d0649bfd5bc 100644
--- a/components/policy/core/common/policy_loader_mac_unittest.cc
+++ b/components/policy/core/common/policy_loader_mac_unittest.cc
@@ -140,8 +140,8 @@ class PolicyLoaderMacTest : public PolicyTestBase {
void SetUp() override {
PolicyTestBase::SetUp();
- scoped_ptr<AsyncPolicyLoader> loader(new PolicyLoaderMac(
- loop_.message_loop_proxy(), base::FilePath(), prefs_));
+ scoped_ptr<AsyncPolicyLoader> loader(
+ new PolicyLoaderMac(loop_.task_runner(), base::FilePath(), prefs_));
provider_.reset(new AsyncPolicyProvider(&schema_registry_, loader.Pass()));
provider_->Init(&schema_registry_);
}

Powered by Google App Engine
This is Rietveld 408576698