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

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

Issue 975733002: Use Length for the stroke-dasharray property in SVGLayoutStyle (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add test for style-change responsive-ness. Created 5 years, 10 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/SVGStrokeDasharrayStyleInterpolation.h
diff --git a/Source/core/animation/SVGStrokeDasharrayStyleInterpolation.h b/Source/core/animation/SVGStrokeDasharrayStyleInterpolation.h
index ac3e096076208ad54c9bba96dabbbd610e414a50..e9acec299389acece6398aa7662c4c9d1b6bccf1 100644
--- a/Source/core/animation/SVGStrokeDasharrayStyleInterpolation.h
+++ b/Source/core/animation/SVGStrokeDasharrayStyleInterpolation.h
@@ -24,15 +24,12 @@ public:
}
private:
- SVGStrokeDasharrayStyleInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, CSSPropertyID id, const Vector<CSSPrimitiveValue::UnitType>& types)
+ SVGStrokeDasharrayStyleInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, CSSPropertyID id)
: StyleInterpolation(start, end, id)
- , m_types(types)
{ }
static bool canCreateFrom(const CSSValue&);
- static PassRefPtrWillBeRawPtr<CSSValueList> interpolableValueToStrokeDasharray(const InterpolableValue&, const Vector<CSSPrimitiveValue::UnitType>&);
-
- Vector<CSSPrimitiveValue::UnitType> m_types;
+ static PassRefPtrWillBeRawPtr<CSSValueList> interpolableValueToStrokeDasharray(const InterpolableValue&);
friend class AnimationSVGStrokeDasharrayStyleInterpolationTest;
};

Powered by Google App Engine
This is Rietveld 408576698