Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1184)

Unified Diff: cc/output/delegating_renderer.cc

Issue 1469863003: Cleanup SurfaceVisibility code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup surface visibility completely. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/output/gl_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « no previous file | cc/output/gl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698