Index: Source/core/animation/DeferredLegacyStyleInterpolation.h |
diff --git a/Source/core/animation/DeferredLegacyStyleInterpolation.h b/Source/core/animation/DeferredLegacyStyleInterpolation.h |
index 993d03761436ef8d23142898a16b5b7fa546f27f..21fd7a85b6e83be6f6723cf386b8c3beb8c35039 100644 |
--- a/Source/core/animation/DeferredLegacyStyleInterpolation.h |
+++ b/Source/core/animation/DeferredLegacyStyleInterpolation.h |
@@ -21,7 +21,7 @@ class CSSValueList; |
class CORE_EXPORT DeferredLegacyStyleInterpolation : public StyleInterpolation { |
public: |
- static PassRefPtrWillBeRawPtr<DeferredLegacyStyleInterpolation> create(PassRefPtrWillBeRawPtr<CSSValue> start, PassRefPtrWillBeRawPtr<CSSValue> end, CSSPropertyID id) |
+ static PassRefPtrWillBeRawPtr<DeferredLegacyStyleInterpolation> create(NullableCSSValue start, NullableCSSValue end, CSSPropertyID id) |
{ |
return adoptRefWillBeNoop(new DeferredLegacyStyleInterpolation(start, end, id)); |
} |
@@ -43,7 +43,7 @@ public: |
virtual bool isDeferredLegacyStyleInterpolation() const override final { return true; } |
private: |
- DeferredLegacyStyleInterpolation(PassRefPtrWillBeRawPtr<CSSValue> start, PassRefPtrWillBeRawPtr<CSSValue> end, CSSPropertyID id) |
+ DeferredLegacyStyleInterpolation(NullableCSSValue start, NullableCSSValue end, CSSPropertyID id) |
: StyleInterpolation(InterpolableNumber::create(0), InterpolableNumber::create(1), id) |
, m_startCSSValue(start) |
, m_endCSSValue(end) |
@@ -51,8 +51,8 @@ private: |
{ |
} |
- RefPtrWillBeMember<CSSValue> m_startCSSValue; |
- RefPtrWillBeMember<CSSValue> m_endCSSValue; |
+ NullableCSSValue m_startCSSValue; |
+ NullableCSSValue m_endCSSValue; |
mutable RefPtrWillBeMember<LegacyStyleInterpolation> m_innerInterpolation; |
mutable bool m_outdated; |
}; |