| Index: content/browser/renderer_host/context_provider_factory_impl_android.cc
|
| diff --git a/content/browser/renderer_host/context_provider_factory_impl_android.cc b/content/browser/renderer_host/context_provider_factory_impl_android.cc
|
| index d3db9665c284e13e36f55d4cc0367b09b118cf8f..40cc97c1a4a271837d53117c4d92b6822012aae8 100644
|
| --- a/content/browser/renderer_host/context_provider_factory_impl_android.cc
|
| +++ b/content/browser/renderer_host/context_provider_factory_impl_android.cc
|
| @@ -235,6 +235,11 @@ void ContextProviderFactoryImpl::OnGpuChannelEstablished(
|
| scoped_refptr<gpu::GpuChannelHost> gpu_channel) {
|
| establish_gpu_channel_timeout_.Stop();
|
|
|
| + // This should happen only during shutdown. So early out instead of queuing
|
| + // more requests with the factory.
|
| + if (!gpu_channel)
|
| + return;
|
| +
|
| // We can queue the Gpu Channel initialization requests multiple times as
|
| // we get context requests. So we might have already handled any pending
|
| // requests when this callback runs.
|
|
|