| 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 36aa666a85aae10a26adf0654b0398b2ebbb183c..9d39f57b7794d2856b93ce181b8ea90563af6fba 100644
|
| --- a/content/browser/renderer_host/compositor_impl_android.cc
|
| +++ b/content/browser/renderer_host/compositor_impl_android.cc
|
| @@ -647,7 +647,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.
|
|
|