Index: ppapi/proxy/ppapi_proxy_test.cc |
diff --git a/ppapi/proxy/ppapi_proxy_test.cc b/ppapi/proxy/ppapi_proxy_test.cc |
index 71b8816544c9b77ae241ef375477abc88e532c4b..5ff1a4e8186cf2dd3fbad78223a9a5a55cbda18d 100644 |
--- a/ppapi/proxy/ppapi_proxy_test.cc |
+++ b/ppapi/proxy/ppapi_proxy_test.cc |
@@ -558,8 +558,8 @@ void TwoWayTest::SetUp() { |
base::WaitableEvent remote_harness_set_up(true, false); |
plugin_thread_.task_runner()->PostTask( |
FROM_HERE, base::Bind(&SetUpRemoteHarness, remote_harness_, handle, |
- io_thread_.task_runner(), &shutdown_event_, |
- &remote_harness_set_up)); |
+ base::RetainedRef(io_thread_.task_runner()), |
+ &shutdown_event_, &remote_harness_set_up)); |
remote_harness_set_up.Wait(); |
local_harness_->SetUpHarnessWithChannel( |
handle, io_thread_.task_runner().get(), &shutdown_event_, |