| Index: cc/output/delegating_renderer.cc
|
| diff --git a/cc/output/delegating_renderer.cc b/cc/output/delegating_renderer.cc
|
| index 0a7d91cd5d7a59145713721b7a7fa03e75b08e45..365ee851952a1a8c9bb85ca09de29ae9e7a84b8d 100644
|
| --- a/cc/output/delegating_renderer.cc
|
| +++ b/cc/output/delegating_renderer.cc
|
| @@ -114,12 +114,7 @@ void DelegatingRenderer::DidChangeVisibility() {
|
| context_provider->ContextGL()->Flush();
|
| }
|
| }
|
| - // 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.
|
| if (context_provider) {
|
| - context_provider->ContextSupport()->SetSurfaceVisible(visible());
|
| -
|
| // If we are not visible, we ask the context to aggressively free resources.
|
| context_provider->ContextSupport()->SetAggressivelyFreeResources(
|
| !visible());
|
|
|