Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Unified Diff: Source/core/animation/InvalidatableStyleInterpolation.h

Issue 1214593003: Move AnimationValue onto the heap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/animation/InvalidatableStyleInterpolation.h
diff --git a/Source/core/animation/InvalidatableStyleInterpolation.h b/Source/core/animation/InvalidatableStyleInterpolation.h
index 7e914535d3d762f58a955767b165851e5a31e4f8..c0a24c96031d94957b214efede552f3383a0e85e 100644
--- a/Source/core/animation/InvalidatableStyleInterpolation.h
+++ b/Source/core/animation/InvalidatableStyleInterpolation.h
@@ -47,7 +47,7 @@ private:
void ensureValidInterpolation(const StyleResolverState&) const;
bool isCacheValid(const StyleResolverState&) const;
bool maybeCachePairwiseConversion(const StyleResolverState*) const;
- PassOwnPtrWillBeRawPtr<FlipPrimitiveInterpolation::Side> convertSingleKeyframe(const CSSPropertySpecificKeyframe&, const StyleResolverState&) const;
+ PassOwnPtrWillBeRawPtr<AnimationValue> convertSingleKeyframe(const CSSPropertySpecificKeyframe&, const StyleResolverState&) const;
const Vector<const AnimationType*>& m_animationTypes;
const CSSPropertySpecificKeyframe& m_startKeyframe;
@@ -55,7 +55,7 @@ private:
double m_currentFraction;
mutable OwnPtrWillBeMember<PrimitiveInterpolation> m_cachedConversion;
mutable AnimationType::ConversionCheckers m_conversionCheckers;
- mutable AnimationValue m_cachedValue;
+ mutable OwnPtrWillBeRawPtr<AnimationValue> m_cachedValue;
};
DEFINE_TYPE_CASTS(InvalidatableStyleInterpolation, Interpolation, value, value->isInvalidatableStyleInterpolation(), value.isInvalidatableStyleInterpolation());
« no previous file with comments | « Source/core/animation/CSSValueAnimationType.cpp ('k') | Source/core/animation/InvalidatableStyleInterpolation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698