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

Unified Diff: Source/core/animation/animatable/AnimatableValueTestHelper.cpp

Issue 983103003: Use Length for the stroke-width property in SVGLayoutStyle (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: lengthSetterForProperty Created 5 years, 9 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/animatable/AnimatableValueTestHelper.cpp
diff --git a/Source/core/animation/animatable/AnimatableValueTestHelper.cpp b/Source/core/animation/animatable/AnimatableValueTestHelper.cpp
index 29442b7562a86e74da567b9af9c84634772f7b11..add8e2419bfb44237f80ea862b7a19965f57b265 100644
--- a/Source/core/animation/animatable/AnimatableValueTestHelper.cpp
+++ b/Source/core/animation/animatable/AnimatableValueTestHelper.cpp
@@ -74,12 +74,6 @@ void PrintTo(const AnimatableRepeatable& animValue, ::std::ostream* os)
*os << ")";
}
-void PrintTo(const AnimatableSVGLength& animSVGLength, ::std::ostream* os)
-{
- *os << "AnimatableSVGLength("
- << animSVGLength.toSVGLength()->valueAsString().utf8().data() << ")";
-}
-
void PrintTo(const AnimatableShapeValue& animValue, ::std::ostream* os)
{
*os << "AnimatableShapeValue@" << &animValue;
@@ -188,8 +182,6 @@ void PrintTo(const AnimatableValue& animValue, ::std::ostream* os)
PrintTo(static_cast<const AnimatableNeutral&>(animValue), os);
else if (animValue.isRepeatable())
PrintTo(toAnimatableRepeatable(animValue), os);
- else if (animValue.isSVGLength())
- PrintTo(toAnimatableSVGLength(animValue), os);
else if (animValue.isSVGPaint())
PrintTo(toAnimatableSVGPaint(animValue), os);
else if (animValue.isShapeValue())

Powered by Google App Engine
This is Rietveld 408576698