| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <stdint.h> |
| 6 |
| 5 #include <set> | 7 #include <set> |
| 6 #include <vector> | 8 #include <vector> |
| 7 | 9 |
| 8 #include "base/location.h" | 10 #include "base/location.h" |
| 9 #include "base/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
| 10 #include "base/thread_task_runner_handle.h" | 12 #include "base/thread_task_runner_handle.h" |
| 11 #include "cc/layers/solid_color_layer.h" | 13 #include "cc/layers/solid_color_layer.h" |
| 12 #include "cc/layers/surface_layer.h" | 14 #include "cc/layers/surface_layer.h" |
| 13 #include "cc/test/fake_impl_task_runner_provider.h" | 15 #include "cc/test/fake_impl_task_runner_provider.h" |
| 14 #include "cc/test/fake_layer_tree_host.h" | 16 #include "cc/test/fake_layer_tree_host.h" |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 EXPECT_EQ(1u, required_set_.size()); | 254 EXPECT_EQ(1u, required_set_.size()); |
| 253 // Sequence should have been satisfied with the callback. | 255 // Sequence should have been satisfied with the callback. |
| 254 EXPECT_TRUE(satisfied_sequence_ == SurfaceSequence(1u, 1u)); | 256 EXPECT_TRUE(satisfied_sequence_ == SurfaceSequence(1u, 1u)); |
| 255 } | 257 } |
| 256 }; | 258 }; |
| 257 | 259 |
| 258 MULTI_THREAD_TEST_F(SurfaceLayerSwapPromiseWithoutDraw); | 260 MULTI_THREAD_TEST_F(SurfaceLayerSwapPromiseWithoutDraw); |
| 259 | 261 |
| 260 } // namespace | 262 } // namespace |
| 261 } // namespace cc | 263 } // namespace cc |
| OLD | NEW |