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

Unified Diff: content/browser/renderer_host/compositor_impl_android.cc

Issue 12224129: cc: Disable memory management in the browser compositor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 10 months 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/layer_tree_settings.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/compositor_impl_android.cc
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
index f65a8617902acc1d15f3f89dff721588b512632a..db77287774f2001f301e7b7e17ab2ae219837804 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -175,6 +175,7 @@ void CompositorImpl::SetVisible(bool visible) {
settings.implSidePainting = false;
settings.calculateTopControlsPosition = false;
settings.topControlsHeight = 0.f;
+ settings.useMemoryManagement = false;
// Do not clear the framebuffer when rendering into external GL contexts
// like Android View System's.
« no previous file with comments | « cc/layer_tree_settings.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698