| Index: cc/output/delegating_renderer.cc
|
| diff --git a/cc/output/delegating_renderer.cc b/cc/output/delegating_renderer.cc
|
| index a2e5e532047e61b22533b25ca211477bdad6ae9c..47c068db8440de7959ef9b83c62f2eef24b9ce2c 100644
|
| --- a/cc/output/delegating_renderer.cc
|
| +++ b/cc/output/delegating_renderer.cc
|
| @@ -163,8 +163,8 @@ void DelegatingRenderer::SetVisible(bool visible) {
|
| // We loop visibility to the GPU process, since that's what manages memory.
|
| // That will allow it to feed us with memory allocations that we can act
|
| // upon.
|
| - DCHECK(context_provider);
|
| - context_provider->ContextSupport()->SetSurfaceVisible(visible);
|
| + if (context_provider)
|
| + context_provider->ContextSupport()->SetSurfaceVisible(visible);
|
| }
|
|
|
| void DelegatingRenderer::SendManagedMemoryStats(size_t bytes_visible,
|
|
|