| Index: cc/output/delegating_renderer.cc
|
| diff --git a/cc/output/delegating_renderer.cc b/cc/output/delegating_renderer.cc
|
| index 66cd53c16a9c58e21e73c56851d8c438afaa99e9..b1893862ef9cf0d9ee04cddcf34dfbf6a2312ad2 100644
|
| --- a/cc/output/delegating_renderer.cc
|
| +++ b/cc/output/delegating_renderer.cc
|
| @@ -162,8 +162,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,
|
|
|