| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |