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 "cc/trees/tree_synchronizer.h" | 5 #include "cc/trees/tree_synchronizer.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <algorithm> | 9 #include <algorithm> |
8 #include <set> | 10 #include <set> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "base/format_macros.h" | 13 #include "base/format_macros.h" |
12 #include "base/strings/stringprintf.h" | 14 #include "base/strings/stringprintf.h" |
13 #include "cc/animation/layer_animation_controller.h" | 15 #include "cc/animation/layer_animation_controller.h" |
14 #include "cc/layers/layer.h" | 16 #include "cc/layers/layer.h" |
15 #include "cc/layers/layer_impl.h" | 17 #include "cc/layers/layer_impl.h" |
16 #include "cc/layers/layer_settings.h" | 18 #include "cc/layers/layer_settings.h" |
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
728 host_impl->active_tree()); | 730 host_impl->active_tree()); |
729 | 731 |
730 // The clip children should have been unhooked. | 732 // The clip children should have been unhooked. |
731 EXPECT_EQ(2u, intervening->children().size()); | 733 EXPECT_EQ(2u, intervening->children().size()); |
732 EXPECT_FALSE(clip_child2->clip_parent()); | 734 EXPECT_FALSE(clip_child2->clip_parent()); |
733 EXPECT_FALSE(additional_clip_child->clip_parent()); | 735 EXPECT_FALSE(additional_clip_child->clip_parent()); |
734 } | 736 } |
735 | 737 |
736 } // namespace | 738 } // namespace |
737 } // namespace cc | 739 } // namespace cc |
OLD | NEW |