Index: chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc |
diff --git a/chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc b/chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc |
index 7be0eea8efaa2e91796b7b1fe7794d56bca7fb0b..44e3c588b747d23c18d890f931b2b085e744f64d 100644 |
--- a/chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc |
+++ b/chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc |
@@ -99,7 +99,8 @@ TEST_F(SQLiteServerBoundCertStoreTest, TestPersistence) { |
store_ = NULL; |
scoped_refptr<base::ThreadTestHelper> helper( |
new base::ThreadTestHelper( |
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB))); |
+ BrowserThread::GetMessageLoopProxyForThread( |
+ BrowserThread::DB).get())); |
// Make sure we wait until the destructor has run. |
ASSERT_TRUE(helper->Run()); |
store_ = new SQLiteServerBoundCertStore( |
@@ -213,7 +214,8 @@ TEST_F(SQLiteServerBoundCertStoreTest, TestUpgradeV1) { |
// Make sure we wait until the destructor has run. |
scoped_refptr<base::ThreadTestHelper> helper( |
new base::ThreadTestHelper( |
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB))); |
+ BrowserThread::GetMessageLoopProxyForThread( |
+ BrowserThread::DB).get())); |
ASSERT_TRUE(helper->Run()); |
// Verify the database version is updated. |
@@ -301,7 +303,8 @@ TEST_F(SQLiteServerBoundCertStoreTest, TestUpgradeV2) { |
// Make sure we wait until the destructor has run. |
scoped_refptr<base::ThreadTestHelper> helper( |
new base::ThreadTestHelper( |
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB))); |
+ BrowserThread::GetMessageLoopProxyForThread( |
+ BrowserThread::DB).get())); |
ASSERT_TRUE(helper->Run()); |
// Verify the database version is updated. |
@@ -393,7 +396,8 @@ TEST_F(SQLiteServerBoundCertStoreTest, TestUpgradeV3) { |
// Make sure we wait until the destructor has run. |
scoped_refptr<base::ThreadTestHelper> helper( |
new base::ThreadTestHelper( |
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB))); |
+ BrowserThread::GetMessageLoopProxyForThread( |
+ BrowserThread::DB).get())); |
ASSERT_TRUE(helper->Run()); |
// Verify the database version is updated. |
@@ -437,7 +441,8 @@ TEST_F(SQLiteServerBoundCertStoreTest, TestFlush) { |
store_->Flush(base::Closure()); |
scoped_refptr<base::ThreadTestHelper> helper( |
new base::ThreadTestHelper( |
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB))); |
+ BrowserThread::GetMessageLoopProxyForThread( |
+ BrowserThread::DB).get())); |
ASSERT_TRUE(helper->Run()); |
// We forced a write, so now the file will be bigger. |
@@ -476,7 +481,8 @@ TEST_F(SQLiteServerBoundCertStoreTest, TestFlushCompletionCallback) { |
scoped_refptr<base::ThreadTestHelper> helper( |
new base::ThreadTestHelper( |
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB))); |
+ BrowserThread::GetMessageLoopProxyForThread( |
+ BrowserThread::DB).get())); |
ASSERT_TRUE(helper->Run()); |
ASSERT_EQ(1, counter->callback_count()); |