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/layer_tree_host_common.h" | 5 #include "cc/trees/layer_tree_host_common.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <algorithm> | 9 #include <algorithm> |
8 | 10 |
9 #include "base/trace_event/trace_event.h" | 11 #include "base/trace_event/trace_event.h" |
10 #include "cc/base/math_util.h" | 12 #include "cc/base/math_util.h" |
11 #include "cc/layers/heads_up_display_layer_impl.h" | 13 #include "cc/layers/heads_up_display_layer_impl.h" |
12 #include "cc/layers/layer.h" | 14 #include "cc/layers/layer.h" |
13 #include "cc/layers/layer_impl.h" | 15 #include "cc/layers/layer_impl.h" |
14 #include "cc/layers/layer_iterator.h" | 16 #include "cc/layers/layer_iterator.h" |
15 #include "cc/layers/render_surface_draw_properties.h" | 17 #include "cc/layers/render_surface_draw_properties.h" |
16 #include "cc/layers/render_surface_impl.h" | 18 #include "cc/layers/render_surface_impl.h" |
(...skipping 2767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2784 | 2786 |
2785 PropertyTrees* GetPropertyTrees(Layer* layer) { | 2787 PropertyTrees* GetPropertyTrees(Layer* layer) { |
2786 return layer->layer_tree_host()->property_trees(); | 2788 return layer->layer_tree_host()->property_trees(); |
2787 } | 2789 } |
2788 | 2790 |
2789 PropertyTrees* GetPropertyTrees(LayerImpl* layer) { | 2791 PropertyTrees* GetPropertyTrees(LayerImpl* layer) { |
2790 return layer->layer_tree_impl()->property_trees(); | 2792 return layer->layer_tree_impl()->property_trees(); |
2791 } | 2793 } |
2792 | 2794 |
2793 } // namespace cc | 2795 } // namespace cc |
OLD | NEW |