Chromium Code Reviews| Index: cc/output/delegating_renderer.cc |
| diff --git a/cc/output/delegating_renderer.cc b/cc/output/delegating_renderer.cc |
| index a8fbbb70cde70ca28731103d67d9f6898fbd0252..ec794c7e985c38c2bd2d822449ea841c5c0babad 100644 |
| --- a/cc/output/delegating_renderer.cc |
| +++ b/cc/output/delegating_renderer.cc |
| @@ -118,8 +118,6 @@ void DelegatingRenderer::DidChangeVisibility() { |
| // That will allow it to feed us with memory allocations that we can act |
| // upon. |
|
piman
2015/11/24 21:43:51
nit: You can remove this comment (which isn't true
sohanjg
2015/11/25 07:37:17
Done.
|
| 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()); |