| Index: chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
|
| diff --git a/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc b/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
|
| index 274ee5e8a71fdf2000e555d2849a731943ac07b5..ac2053af5f2ffbb431ca1ab1dbe60d6f15f6e964 100644
|
| --- a/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
|
| +++ b/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
|
| @@ -93,7 +93,7 @@ class TestServiceProcess : public ServiceProcess {
|
| bool Initialize(MessageLoopForUI* message_loop, ServiceProcessState* state);
|
|
|
| base::MessageLoopProxy* IOMessageLoopProxy() {
|
| - return io_thread_->message_loop_proxy();
|
| + return io_thread_->message_loop_proxy().get();
|
| }
|
| };
|
|
|
| @@ -287,7 +287,7 @@ class CloudPrintProxyPolicyStartupTest : public base::MultiProcessTest,
|
|
|
| virtual void SetUp();
|
| base::MessageLoopProxy* IOMessageLoopProxy() {
|
| - return io_thread_.message_loop_proxy();
|
| + return io_thread_.message_loop_proxy().get();
|
| }
|
| base::ProcessHandle Launch(const std::string& name);
|
| void WaitForConnect();
|
| @@ -406,7 +406,7 @@ base::ProcessHandle CloudPrintProxyPolicyStartupTest::Launch(
|
| void CloudPrintProxyPolicyStartupTest::WaitForConnect() {
|
| observer_.Wait();
|
| EXPECT_TRUE(CheckServiceProcessReady());
|
| - EXPECT_TRUE(base::MessageLoopProxy::current());
|
| + EXPECT_TRUE(base::MessageLoopProxy::current().get());
|
| ServiceProcessControl::GetInstance()->SetChannel(new IPC::ChannelProxy(
|
| GetServiceProcessChannel(), IPC::Channel::MODE_NAMED_CLIENT,
|
| ServiceProcessControl::GetInstance(), IOMessageLoopProxy()));
|
|
|