| OLD | NEW |
| 1 // Copyright 2010 The Chromium Authors. All rights reserved. | 1 // Copyright 2010 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/layers/layer.h" | 5 #include "cc/layers/layer.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
| 7 #include <algorithm> | 10 #include <algorithm> |
| 8 | 11 |
| 9 #include "base/atomic_sequence_num.h" | 12 #include "base/atomic_sequence_num.h" |
| 10 #include "base/location.h" | 13 #include "base/location.h" |
| 11 #include "base/metrics/histogram.h" | 14 #include "base/metrics/histogram.h" |
| 12 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
| 13 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 14 #include "base/trace_event/trace_event.h" | 17 #include "base/trace_event/trace_event.h" |
| 15 #include "cc/animation/animation.h" | 18 #include "cc/animation/animation.h" |
| 16 #include "cc/animation/animation_events.h" | 19 #include "cc/animation/animation_events.h" |
| (...skipping 2021 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2038 this, layer_tree_host_->property_trees()->transform_tree); | 2041 this, layer_tree_host_->property_trees()->transform_tree); |
| 2039 } | 2042 } |
| 2040 | 2043 |
| 2041 gfx::Transform Layer::screen_space_transform() const { | 2044 gfx::Transform Layer::screen_space_transform() const { |
| 2042 DCHECK_NE(transform_tree_index_, -1); | 2045 DCHECK_NE(transform_tree_index_, -1); |
| 2043 return ScreenSpaceTransformFromPropertyTrees( | 2046 return ScreenSpaceTransformFromPropertyTrees( |
| 2044 this, layer_tree_host_->property_trees()->transform_tree); | 2047 this, layer_tree_host_->property_trees()->transform_tree); |
| 2045 } | 2048 } |
| 2046 | 2049 |
| 2047 } // namespace cc | 2050 } // namespace cc |
| OLD | NEW |