| 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 #ifndef DeferredLegacyStyleInterpolation_h | 5 #ifndef DeferredLegacyStyleInterpolation_h |
| 6 #define DeferredLegacyStyleInterpolation_h | 6 #define DeferredLegacyStyleInterpolation_h |
| 7 | 7 |
| 8 #include "core/animation/interpolation/StyleInterpolation.h" | 8 #include "core/animation/interpolation/StyleInterpolation.h" |
| 9 #include "core/css/CSSValue.h" | 9 #include "core/css/CSSValue.h" |
| 10 | 10 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 static bool interpolationRequiresStyleResolve(const CSSBasicShape&); | 37 static bool interpolationRequiresStyleResolve(const CSSBasicShape&); |
| 38 | 38 |
| 39 private: | 39 private: |
| 40 DeferredLegacyStyleInterpolation(PassRefPtrWillBeRawPtr<CSSValue> start, Pas
sRefPtrWillBeRawPtr<CSSValue> end, CSSPropertyID id) | 40 DeferredLegacyStyleInterpolation(PassRefPtrWillBeRawPtr<CSSValue> start, Pas
sRefPtrWillBeRawPtr<CSSValue> end, CSSPropertyID id) |
| 41 : StyleInterpolation(InterpolableNumber::create(0), InterpolableNumber::
create(1), id) | 41 : StyleInterpolation(InterpolableNumber::create(0), InterpolableNumber::
create(1), id) |
| 42 , m_startCSSValue(start) | 42 , m_startCSSValue(start) |
| 43 , m_endCSSValue(end) | 43 , m_endCSSValue(end) |
| 44 { | 44 { |
| 45 } | 45 } |
| 46 | 46 |
| 47 RefPtrWillBeRawPtr<CSSValue> m_startCSSValue; | 47 RefPtrWillBeMember<CSSValue> m_startCSSValue; |
| 48 RefPtrWillBeRawPtr<CSSValue> m_endCSSValue; | 48 RefPtrWillBeMember<CSSValue> m_endCSSValue; |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 } | 51 } |
| 52 | 52 |
| 53 #endif | 53 #endif |
| OLD | NEW |