Index: content/browser/gpu/browser_gpu_channel_host_factory.cc |
diff --git a/content/browser/gpu/browser_gpu_channel_host_factory.cc b/content/browser/gpu/browser_gpu_channel_host_factory.cc |
index aff2083e6deff4b7e3fe02f0b11d17a907cee9c5..e5463687eae1d3a34f24d64ee2a6b5f24805dbfb 100644 |
--- a/content/browser/gpu/browser_gpu_channel_host_factory.cc |
+++ b/content/browser/gpu/browser_gpu_channel_host_factory.cc |
@@ -81,7 +81,7 @@ BrowserGpuChannelHostFactory::EstablishRequest::Create( |
scoped_refptr<EstablishRequest> establish_request = new EstablishRequest( |
cause, gpu_client_id, gpu_client_tracing_id, gpu_host_id); |
scoped_refptr<base::SingleThreadTaskRunner> task_runner = |
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO); |
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::IO); |
// PostTask outside the constructor to ensure at least one reference exists. |
task_runner->PostTask( |
FROM_HERE, |
@@ -267,7 +267,7 @@ bool BrowserGpuChannelHostFactory::IsMainThread() { |
scoped_refptr<base::SingleThreadTaskRunner> |
BrowserGpuChannelHostFactory::GetIOThreadTaskRunner() { |
- return BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO); |
+ return BrowserThread::GetTaskRunnerForThread(BrowserThread::IO); |
} |
std::unique_ptr<base::SharedMemory> |