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

Unified Diff: cc/trees/layer_tree_host_unittest_video.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_video.cc
diff --git a/cc/trees/layer_tree_host_unittest_video.cc b/cc/trees/layer_tree_host_unittest_video.cc
index 5413a602d4be3f7a21b789333206d21ea0838732..00af71934224e8fb768bc7d2ce5d92306e8b148e 100644
--- a/cc/trees/layer_tree_host_unittest_video.cc
+++ b/cc/trees/layer_tree_host_unittest_video.cc
@@ -17,7 +17,12 @@ namespace cc {
namespace {
// These tests deal with compositing video.
-class LayerTreeHostVideoTest : public LayerTreeTest {};
+class LayerTreeHostVideoTest : public LayerTreeTest {
+ protected:
+ virtual void InitializeSettings(LayerTreeSettings* settings) OVERRIDE {
+ settings->max_bytes_pending_upload = 16 * 1024 * 1024;
+ }
+};
class LayerTreeHostVideoTestSetNeedsDisplay
: public LayerTreeHostVideoTest {

Powered by Google App Engine
This is Rietveld 408576698