Index: chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc |
diff --git a/chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc b/chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc |
index aeb626e03b101960c998fe5289220d37801d5ea6..66ab8ced4cae9994fe4acf07dbb4aab9755f5850 100644 |
--- a/chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc |
+++ b/chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc |
@@ -10,6 +10,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/run_loop.h" |
+#include "base/thread_task_runner_handle.h" |
#include "chrome/browser/chromeos/net/cert_verify_proc_chromeos.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/test/test_browser_thread_bundle.h" |
@@ -43,7 +44,8 @@ class PolicyCertVerifierTest : public testing::Test { |
crypto::GetPrivateSlotForChromeOSUser( |
test_nss_user_.username_hash(), |
base::Callback<void(crypto::ScopedPK11Slot)>()))); |
- test_cert_db_->SetSlowTaskRunnerForTest(base::MessageLoopProxy::current()); |
+ test_cert_db_->SetSlowTaskRunnerForTest( |
+ base::ThreadTaskRunnerHandle::Get()); |
cert_verifier_.reset(new PolicyCertVerifier(base::Bind( |
&PolicyCertVerifierTest::OnTrustAnchorUsed, base::Unretained(this)))); |