Index: net/cert/nss_cert_database_unittest.cc |
diff --git a/net/cert/nss_cert_database_unittest.cc b/net/cert/nss_cert_database_unittest.cc |
index 7c97f11bab2fa31681654cd288b67397c53a29fc..cdb9be0ab78c2a709fa9e84983bf5f9114bec4db 100644 |
--- a/net/cert/nss_cert_database_unittest.cc |
+++ b/net/cert/nss_cert_database_unittest.cc |
@@ -13,11 +13,11 @@ |
#include "base/files/file_util.h" |
#include "base/lazy_instance.h" |
#include "base/message_loop/message_loop.h" |
-#include "base/message_loop/message_loop_proxy.h" |
#include "base/run_loop.h" |
#include "base/strings/string16.h" |
#include "base/strings/string_util.h" |
#include "base/strings/utf_string_conversions.h" |
+#include "base/thread_task_runner_handle.h" |
#include "crypto/scoped_nss_types.h" |
#include "crypto/scoped_test_nss_db.h" |
#include "net/base/crypto_module.h" |
@@ -131,7 +131,7 @@ TEST_F(CertDatabaseNSSTest, ListCerts) { |
// This test isn't terribly useful, though it will at least let valgrind test |
// for leaks. |
CertificateList certs; |
- cert_db_->SetSlowTaskRunnerForTest(base::MessageLoopProxy::current()); |
+ cert_db_->SetSlowTaskRunnerForTest(base::ThreadTaskRunnerHandle::Get()); |
cert_db_->ListCerts(base::Bind(&SwapCertList, base::Unretained(&certs))); |
EXPECT_EQ(0U, certs.size()); |