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

Unified Diff: cc/trees/layer_tree_host_unittest_scroll.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_scroll.cc
diff --git a/cc/trees/layer_tree_host_unittest_scroll.cc b/cc/trees/layer_tree_host_unittest_scroll.cc
index 585d5bf559c226b635f623b36c1d73b73de1e2d0..2eaf69c57fa6d13bd88b1a79d5c48a2bbefd11c3 100644
--- a/cc/trees/layer_tree_host_unittest_scroll.cc
+++ b/cc/trees/layer_tree_host_unittest_scroll.cc
@@ -20,7 +20,12 @@
namespace cc {
namespace {
-class LayerTreeHostScrollTest : public LayerTreeTest {};
+class LayerTreeHostScrollTest : public LayerTreeTest {
+ protected:
+ virtual void InitializeSettings(LayerTreeSettings* settings) OVERRIDE {
+ settings->max_bytes_pending_upload = 16 * 1024 * 1024;
+ }
+};
class LayerTreeHostScrollTestScrollSimple : public LayerTreeHostScrollTest {
public:
@@ -707,6 +712,7 @@ class ImplSidePaintingScrollTest : public LayerTreeHostScrollTest {
public:
virtual void InitializeSettings(LayerTreeSettings* settings) OVERRIDE {
settings->impl_side_painting = true;
+ settings->max_bytes_pending_upload = 16 * 1024 * 1024;
}
virtual void DrawLayersOnThread(LayerTreeHostImpl* impl) OVERRIDE {

Powered by Google App Engine
This is Rietveld 408576698