| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 | 142 |
| 143 bool m_isCalc; | 143 bool m_isCalc; |
| 144 | 144 |
| 145 double m_number; | 145 double m_number; |
| 146 NumberUnitType m_unitType; | 146 NumberUnitType m_unitType; |
| 147 | 147 |
| 148 RefPtr<CSSCalcExpressionNode> m_calcExpression; | 148 RefPtr<CSSCalcExpressionNode> m_calcExpression; |
| 149 | 149 |
| 150 mutable RefPtr<CSSPrimitiveValue> m_cachedCSSPrimitiveValue; | 150 mutable RefPtr<CSSPrimitiveValue> m_cachedCSSPrimitiveValue; |
| 151 | 151 |
| 152 friend class AnimatableLengthTest; | 152 friend class CoreAnimationAnimatableLengthTest; |
| 153 }; | 153 }; |
| 154 | 154 |
| 155 inline const AnimatableLength* toAnimatableLength(const AnimatableValue* value) | 155 inline const AnimatableLength* toAnimatableLength(const AnimatableValue* value) |
| 156 { | 156 { |
| 157 ASSERT_WITH_SECURITY_IMPLICATION(value && value->isLength()); | 157 ASSERT_WITH_SECURITY_IMPLICATION(value && value->isLength()); |
| 158 return static_cast<const AnimatableLength*>(value); | 158 return static_cast<const AnimatableLength*>(value); |
| 159 } | 159 } |
| 160 | 160 |
| 161 } // namespace WebCore | 161 } // namespace WebCore |
| 162 | 162 |
| 163 #endif // AnimatableLength_h | 163 #endif // AnimatableLength_h |
| OLD | NEW |