| 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/StringKeyframe.h" | 6 #include "core/animation/StringKeyframe.h" |
| 7 | 7 |
| 8 #include "core/animation/DefaultStyleInterpolation.h" | 8 #include "core/animation/DefaultStyleInterpolation.h" |
| 9 #include "core/animation/DeferredLegacyStyleInterpolation.h" | 9 #include "core/animation/DeferredLegacyStyleInterpolation.h" |
| 10 #include "core/animation/LegacyStyleInterpolation.h" | 10 #include "core/animation/LegacyStyleInterpolation.h" |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 case CSSPropertyMaxHeight: | 86 case CSSPropertyMaxHeight: |
| 87 case CSSPropertyMaxWidth: | 87 case CSSPropertyMaxWidth: |
| 88 case CSSPropertyMinHeight: | 88 case CSSPropertyMinHeight: |
| 89 case CSSPropertyMinWidth: | 89 case CSSPropertyMinWidth: |
| 90 case CSSPropertyOutlineWidth: | 90 case CSSPropertyOutlineWidth: |
| 91 case CSSPropertyPaddingBottom: | 91 case CSSPropertyPaddingBottom: |
| 92 case CSSPropertyPaddingLeft: | 92 case CSSPropertyPaddingLeft: |
| 93 case CSSPropertyPaddingRight: | 93 case CSSPropertyPaddingRight: |
| 94 case CSSPropertyPaddingTop: | 94 case CSSPropertyPaddingTop: |
| 95 case CSSPropertyPerspective: | 95 case CSSPropertyPerspective: |
| 96 case CSSPropertyShapeMargin: | |
| 97 case CSSPropertyWidth: | 96 case CSSPropertyWidth: |
| 98 range = ValueRangeNonNegative; | 97 range = ValueRangeNonNegative; |
| 99 // Fall through | 98 // Fall through |
| 100 case CSSPropertyBottom: | 99 case CSSPropertyBottom: |
| 101 case CSSPropertyLeft: | 100 case CSSPropertyLeft: |
| 102 case CSSPropertyLetterSpacing: | 101 case CSSPropertyLetterSpacing: |
| 103 case CSSPropertyMarginBottom: | 102 case CSSPropertyMarginBottom: |
| 104 case CSSPropertyMarginLeft: | 103 case CSSPropertyMarginLeft: |
| 105 case CSSPropertyMarginRight: | 104 case CSSPropertyMarginRight: |
| 106 case CSSPropertyMarginTop: | 105 case CSSPropertyMarginTop: |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 } | 143 } |
| 145 | 144 |
| 146 void StringKeyframe::PropertySpecificKeyframe::trace(Visitor* visitor) | 145 void StringKeyframe::PropertySpecificKeyframe::trace(Visitor* visitor) |
| 147 { | 146 { |
| 148 visitor->trace(m_value); | 147 visitor->trace(m_value); |
| 149 visitor->trace(m_animatableValueCache); | 148 visitor->trace(m_animatableValueCache); |
| 150 Keyframe::PropertySpecificKeyframe::trace(visitor); | 149 Keyframe::PropertySpecificKeyframe::trace(visitor); |
| 151 } | 150 } |
| 152 | 151 |
| 153 } | 152 } |
| OLD | NEW |