| 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 205542cdc81e918839841fbbeb55d99e16c6cadd..11bbe83fc2f56a68f95de6d33a75ce857aa8fa76 100644
|
| --- a/content/browser/gpu/browser_gpu_channel_host_factory.cc
|
| +++ b/content/browser/gpu/browser_gpu_channel_host_factory.cc
|
| @@ -305,8 +305,8 @@
|
| return BrowserThread::CurrentlyOn(BrowserThread::UI);
|
| }
|
|
|
| -scoped_refptr<base::SingleThreadTaskRunner>
|
| -BrowserGpuChannelHostFactory::GetIOThreadTaskRunner() {
|
| +scoped_refptr<base::MessageLoopProxy>
|
| +BrowserGpuChannelHostFactory::GetIOLoopProxy() {
|
| return BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO);
|
| }
|
|
|
| @@ -353,10 +353,12 @@
|
| const GPUCreateCommandBufferConfig& init_params,
|
| int32 route_id) {
|
| CreateRequest request(route_id);
|
| - GetIOThreadTaskRunner()->PostTask(
|
| - FROM_HERE,
|
| - base::Bind(&BrowserGpuChannelHostFactory::CreateViewCommandBufferOnIO,
|
| - base::Unretained(this), &request, surface_id, init_params));
|
| + GetIOLoopProxy()->PostTask(FROM_HERE, base::Bind(
|
| + &BrowserGpuChannelHostFactory::CreateViewCommandBufferOnIO,
|
| + base::Unretained(this),
|
| + &request,
|
| + surface_id,
|
| + init_params));
|
| // TODO(vadimt): Remove ScopedTracker below once crbug.com/125248 is fixed.
|
| tracked_objects::ScopedTracker tracking_profile(
|
| FROM_HERE_WITH_EXPLICIT_FUNCTION(
|
|
|