| Index: chrome/browser/process_singleton_linux_unittest.cc
|
| diff --git a/chrome/browser/process_singleton_linux_unittest.cc b/chrome/browser/process_singleton_linux_unittest.cc
|
| index 30042aeb9cca1df6033b926512573eeb19d41bd8..06ae82a9add37302e8300d42be8ba4a78d573cdc 100644
|
| --- a/chrome/browser/process_singleton_linux_unittest.cc
|
| +++ b/chrome/browser/process_singleton_linux_unittest.cc
|
| @@ -87,7 +87,7 @@ class ProcessSingletonLinuxTest : public testing::Test {
|
|
|
| virtual void TearDown() {
|
| scoped_refptr<base::ThreadTestHelper> io_helper(new base::ThreadTestHelper(
|
| - BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO)));
|
| + BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO).get()));
|
| ASSERT_TRUE(io_helper->Run());
|
|
|
| // Destruct the ProcessSingleton object before the IO thread so that its
|
| @@ -98,8 +98,8 @@ class ProcessSingletonLinuxTest : public testing::Test {
|
| base::Bind(&ProcessSingletonLinuxTest::DestructProcessSingleton,
|
| base::Unretained(this)));
|
|
|
| - scoped_refptr<base::ThreadTestHelper> helper(
|
| - new base::ThreadTestHelper(worker_thread_->message_loop_proxy()));
|
| + scoped_refptr<base::ThreadTestHelper> helper(new base::ThreadTestHelper(
|
| + worker_thread_->message_loop_proxy().get()));
|
| ASSERT_TRUE(helper->Run());
|
| }
|
|
|
| @@ -119,8 +119,7 @@ class ProcessSingletonLinuxTest : public testing::Test {
|
| base::Unretained(this)));
|
|
|
| scoped_refptr<base::ThreadTestHelper> helper(
|
| - new base::ThreadTestHelper(
|
| - worker_thread_->message_loop_proxy()));
|
| + new base::ThreadTestHelper(worker_thread_->message_loop_proxy().get()));
|
| ASSERT_TRUE(helper->Run());
|
| }
|
|
|
|
|