OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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 "config.h" | |
6 | |
7 #include "cc/layer_tree_host.h" | 5 #include "cc/layer_tree_host.h" |
8 | 6 |
9 #include "base/synchronization/lock.h" | 7 #include "base/synchronization/lock.h" |
10 #include "cc/content_layer.h" | 8 #include "cc/content_layer.h" |
11 #include "cc/content_layer_client.h" | 9 #include "cc/content_layer_client.h" |
12 #include "cc/graphics_context.h" | 10 #include "cc/graphics_context.h" |
13 #include "cc/layer_tree_host_impl.h" | 11 #include "cc/layer_tree_host_impl.h" |
14 #include "cc/settings.h" | 12 #include "cc/settings.h" |
15 #include "cc/single_thread_proxy.h" | 13 #include "cc/single_thread_proxy.h" |
16 #include "cc/test/fake_content_layer_client.h" | 14 #include "cc/test/fake_content_layer_client.h" |
(...skipping 3201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3218 int m_numCommitsDeferred; | 3216 int m_numCommitsDeferred; |
3219 int m_numCompleteCommits; | 3217 int m_numCompleteCommits; |
3220 }; | 3218 }; |
3221 | 3219 |
3222 TEST_F(LayerTreeHostTestDeferCommits, runMultiThread) | 3220 TEST_F(LayerTreeHostTestDeferCommits, runMultiThread) |
3223 { | 3221 { |
3224 runTest(true); | 3222 runTest(true); |
3225 } | 3223 } |
3226 | 3224 |
3227 } // anonymous namespace | 3225 } // anonymous namespace |
OLD | NEW |