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

Unified Diff: cc/trees/layer_tree_host_unittest_animation.cc

Issue 22900018: cc: Set the mapped memory reclaim limit for the renderer compositor on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment Created 7 years, 4 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
Index: cc/trees/layer_tree_host_unittest_animation.cc
diff --git a/cc/trees/layer_tree_host_unittest_animation.cc b/cc/trees/layer_tree_host_unittest_animation.cc
index dbc427504d846299a8e807775e72974eb38f396f..6107537a90c48ce5b982cce6d542e85ed1751268 100644
--- a/cc/trees/layer_tree_host_unittest_animation.cc
+++ b/cc/trees/layer_tree_host_unittest_animation.cc
@@ -24,6 +24,10 @@ class LayerTreeHostAnimationTest : public LayerTreeTest {
LayerTreeTest::SetupTree();
layer_tree_host()->root_layer()->set_layer_animation_delegate(this);
}
+
+ virtual void InitializeSettings(LayerTreeSettings* settings) {
+ settings->max_bytes_pending_upload = 16 * 1024 * 1024;
+ }
};
// Makes sure that SetNeedsAnimate does not cause the CommitRequested() state to
@@ -722,6 +726,7 @@ class LayerTreeHostAnimationTestCheckerboardDoesntStartAnimations
// Make sure that drawing many times doesn't cause a checkerboarded
// animation to start so we avoid flake in this test.
settings->timeout_and_draw_when_animation_checkerboards = false;
+ settings->max_bytes_pending_upload = 16 * 1024 * 1024;
}
virtual void BeginTest() OVERRIDE {

Powered by Google App Engine
This is Rietveld 408576698