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

Unified Diff: Source/core/animation/css/CSSAnimatableValueFactory.cpp

Issue 956553004: Use Length for baselineShiftValue in SVGLayoutStyle (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: A few more TEs. 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/css/CSSAnimatableValueFactory.cpp
diff --git a/Source/core/animation/css/CSSAnimatableValueFactory.cpp b/Source/core/animation/css/CSSAnimatableValueFactory.cpp
index dd60ecc5385df6ca37968f1f05d97875a190cf2c..5815f4cc3491da5c996611308b26b01faf5021b2 100644
--- a/Source/core/animation/css/CSSAnimatableValueFactory.cpp
+++ b/Source/core/animation/css/CSSAnimatableValueFactory.cpp
@@ -311,7 +311,7 @@ PassRefPtrWillBeRawPtr<AnimatableValue> CSSAnimatableValueFactory::create(CSSPro
case BS_SUB:
return AnimatableUnknown::create(CSSPrimitiveValue::createIdentifier(CSSValueSub));
default:
- return AnimatableSVGLength::create(style.baselineShiftValue());
+ return createFromLength(style.baselineShiftValue(), style);
}
case CSSPropertyBorderBottomColor:
return createFromColor(property, style);

Powered by Google App Engine
This is Rietveld 408576698