| Index: content/browser/renderer_host/compositor_impl_android.cc
|
| diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
|
| index d2add1f938b95ad3c7ec2fd9b6ec84cd6c592e64..15aa7e0d6f8234af09e907b07e178929189f6541 100644
|
| --- a/content/browser/renderer_host/compositor_impl_android.cc
|
| +++ b/content/browser/renderer_host/compositor_impl_android.cc
|
| @@ -646,7 +646,11 @@ void CompositorImpl::CreateVulkanOutputSurface() {
|
| void CompositorImpl::OnGpuChannelEstablished(
|
| scoped_refptr<gpu::GpuChannelHost> gpu_channel_host,
|
| ui::ContextProviderFactory::GpuChannelHostResult result) {
|
| - DCHECK(output_surface_request_pending_);
|
| + // We might end up queing multiple GpuChannel requests for the same
|
| + // OutputSurface request as the visibility of the compositor changes, so the
|
| + // OutputSurface request could have been handled already.
|
| + if (!output_surface_request_pending_)
|
| + return;
|
|
|
| switch (result) {
|
| // Don't retry if we are shutting down.
|
|
|