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

Side by Side Diff: cc/trees/layer_tree_host_unittest_picture.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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/trees/layer_tree_host.h" 5 #include "cc/trees/layer_tree_host.h"
6 6
7 #include "cc/test/fake_content_layer_client.h" 7 #include "cc/test/fake_content_layer_client.h"
8 #include "cc/test/fake_picture_layer.h" 8 #include "cc/test/fake_picture_layer.h"
9 #include "cc/test/fake_picture_layer_impl.h" 9 #include "cc/test/fake_picture_layer_impl.h"
10 #include "cc/test/layer_tree_test.h" 10 #include "cc/test/layer_tree_test.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 102
103 ++activates_; 103 ++activates_;
104 if (activates_ <= 4) 104 if (activates_ <= 4)
105 PostSetNeedsCommitToMainThread(); 105 PostSetNeedsCommitToMainThread();
106 else 106 else
107 EndTest(); 107 EndTest();
108 } 108 }
109 109
110 virtual void AfterTest() OVERRIDE {} 110 virtual void AfterTest() OVERRIDE {}
111 111
112 virtual void InitializeSettings(LayerTreeSettings* settings) OVERRIDE {
113 settings->max_bytes_pending_upload = 16 * 1024 * 1024;
114 }
115
112 FakeContentLayerClient client_; 116 FakeContentLayerClient client_;
113 int activates_; 117 int activates_;
114 }; 118 };
115 119
116 MULTI_THREAD_TEST_F(LayerTreeHostPictureTestTwinLayer); 120 // MULTI_THREAD_TEST_F(LayerTreeHostPictureTestTwinLayer);
117 121
118 } // namespace 122 } // namespace
119 } // namespace cc 123 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698