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 "config.h" | 5 #include "config.h" |
6 #include "core/animation/TransformStyleInterpolation.h" | 6 #include "core/animation/TransformStyleInterpolation.h" |
7 | 7 |
8 #include "core/animation/DoubleStyleInterpolation.h" | 8 #include "core/animation/DoubleStyleInterpolation.h" |
9 #include "core/animation/LengthBoxStyleInterpolation.h" | 9 #include "core/animation/LengthBoxStyleInterpolation.h" |
10 #include "core/animation/LengthStyleInterpolation.h" | 10 #include "core/animation/LengthStyleInterpolation.h" |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 return result.release(); | 163 return result.release(); |
164 } | 164 } |
165 | 165 |
166 void TransformStyleInterpolation::apply(StyleResolverState& state) const | 166 void TransformStyleInterpolation::apply(StyleResolverState& state) const |
167 { | 167 { |
168 StyleBuilder::applyProperty(m_id, state, interpolableValueToTransform(m_cach
edValue.get(), m_types).get()); | 168 StyleBuilder::applyProperty(m_id, state, interpolableValueToTransform(m_cach
edValue.get(), m_types).get()); |
169 } | 169 } |
170 | 170 |
171 void TransformStyleInterpolation::trace(Visitor* visitor) | 171 void TransformStyleInterpolation::trace(Visitor* visitor) |
172 { | 172 { |
173 visitor->trace(m_types); | |
174 StyleInterpolation::trace(visitor); | 173 StyleInterpolation::trace(visitor); |
175 } | 174 } |
176 | 175 |
177 } | 176 } |
178 | 177 |
OLD | NEW |