| 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 56eda463f70b6826fbd856a039904aa0246863aa..62d1ae1a4ff6616486df59e5a38af3e1c0561c9d 100644
|
| --- a/content/browser/gpu/browser_gpu_channel_host_factory.cc
|
| +++ b/content/browser/gpu/browser_gpu_channel_host_factory.cc
|
| @@ -256,6 +256,7 @@ BrowserGpuChannelHostFactory::AllocateSharedMemory(size_t size) {
|
| void BrowserGpuChannelHostFactory::EstablishGpuChannel(
|
| const gpu::GpuChannelEstablishedCallback& callback) {
|
| DCHECK(!service_manager::ServiceManagerIsRemote());
|
| + DCHECK(IsMainThread());
|
| if (gpu_channel_.get() && gpu_channel_->IsLost()) {
|
| DCHECK(!pending_request_.get());
|
| // Recreate the channel if it has been lost.
|
|
|