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

Unified Diff: cc/output/gl_renderer.cc

Issue 1469863003: Cleanup SurfaceVisibility code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase.. 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 | « cc/output/delegating_renderer.cc ('k') | cc/output/gl_renderer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/gl_renderer.cc
diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc
index 546446d077a49b2b0c5e2b2fc2ee296967044cd7..ea8031e145b51fd2be95277abefe5f0a80f00373 100644
--- a/cc/output/gl_renderer.cc
+++ b/cc/output/gl_renderer.cc
@@ -397,8 +397,6 @@ const RendererCapabilitiesImpl& GLRenderer::Capabilities() const {
void GLRenderer::DidChangeVisibility() {
EnforceMemoryPolicy();
- context_support_->SetSurfaceVisible(visible());
-
// If we are not visible, we ask the context to aggressively free resources.
context_support_->SetAggressivelyFreeResources(!visible());
}
« no previous file with comments | « cc/output/delegating_renderer.cc ('k') | cc/output/gl_renderer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698