| 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 "core/animation/DoubleStyleInterpolation.h" | 5 #include "core/animation/DoubleStyleInterpolation.h" |
| 6 | 6 |
| 7 #include "core/css/CSSValueList.h" | 7 #include "core/css/CSSValueList.h" |
| 8 #include "core/css/resolver/StyleBuilder.h" | 8 #include "core/css/resolver/StyleBuilder.h" |
| 9 #include "core/style/ComputedStyleConstants.h" | 9 #include "core/style/ComputedStyleConstants.h" |
| 10 | 10 |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 || !extractMotionRotation(end, &endRotation, &endRotationType) | 145 || !extractMotionRotation(end, &endRotation, &endRotationType) |
| 146 || startRotationType != endRotationType) | 146 || startRotationType != endRotationType) |
| 147 return nullptr; | 147 return nullptr; |
| 148 | 148 |
| 149 return adoptRef(new DoubleStyleInterpolation( | 149 return adoptRef(new DoubleStyleInterpolation( |
| 150 motionRotationToInterpolableValue(start), | 150 motionRotationToInterpolableValue(start), |
| 151 motionRotationToInterpolableValue(end), | 151 motionRotationToInterpolableValue(end), |
| 152 id, true, InterpolationRange::RangeAll, startRotationType == MotionRotat
ionAuto)); | 152 id, true, InterpolationRange::RangeAll, startRotationType == MotionRotat
ionAuto)); |
| 153 } | 153 } |
| 154 | 154 |
| 155 } | 155 } // namespace blink |
| OLD | NEW |