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 <set> | 9 #include <set> |
8 | 10 |
9 #include "base/containers/hash_tables.h" | 11 #include "base/containers/hash_tables.h" |
10 #include "base/containers/scoped_ptr_hash_map.h" | 12 #include "base/containers/scoped_ptr_hash_map.h" |
11 #include "base/logging.h" | 13 #include "base/logging.h" |
12 #include "base/trace_event/trace_event.h" | 14 #include "base/trace_event/trace_event.h" |
13 #include "cc/layers/layer.h" | 15 #include "cc/layers/layer.h" |
14 #include "cc/layers/layer_impl.h" | 16 #include "cc/layers/layer_impl.h" |
15 | 17 |
16 namespace cc { | 18 namespace cc { |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 #endif | 248 #endif |
247 } | 249 } |
248 | 250 |
249 void TreeSynchronizer::PushProperties(LayerImpl* layer, LayerImpl* layer_impl) { | 251 void TreeSynchronizer::PushProperties(LayerImpl* layer, LayerImpl* layer_impl) { |
250 int num_dependents_need_push_properties = 0; | 252 int num_dependents_need_push_properties = 0; |
251 PushPropertiesInternal( | 253 PushPropertiesInternal( |
252 layer, layer_impl, &num_dependents_need_push_properties); | 254 layer, layer_impl, &num_dependents_need_push_properties); |
253 } | 255 } |
254 | 256 |
255 } // namespace cc | 257 } // namespace cc |
OLD | NEW |