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

Unified Diff: Source/core/svg/SVGAnimatedTypeAnimator.cpp

Issue 966923003: Make SVGLengthMode an enum class (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « Source/core/svg/RadialGradientAttributes.h ('k') | Source/core/svg/SVGCircleElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAnimatedTypeAnimator.cpp
diff --git a/Source/core/svg/SVGAnimatedTypeAnimator.cpp b/Source/core/svg/SVGAnimatedTypeAnimator.cpp
index b6e5694f09196ad81977d3e95684aa69f213a6e9..b30cff9a17f1022673d3b15effd4bb0c07557d2c 100644
--- a/Source/core/svg/SVGAnimatedTypeAnimator.cpp
+++ b/Source/core/svg/SVGAnimatedTypeAnimator.cpp
@@ -104,12 +104,12 @@ PassRefPtrWillBeRawPtr<SVGPropertyBase> SVGAnimatedTypeAnimator::createPropertyF
return property.release();
}
case AnimatedLength: {
- RefPtrWillBeRawPtr<SVGLength> property = SVGLength::create(LengthModeOther);
+ RefPtrWillBeRawPtr<SVGLength> property = SVGLength::create();
property->setValueAsString(value, IGNORE_EXCEPTION);
return property.release();
}
case AnimatedLengthList: {
- RefPtrWillBeRawPtr<SVGLengthList> property = SVGLengthList::create(LengthModeOther);
+ RefPtrWillBeRawPtr<SVGLengthList> property = SVGLengthList::create();
property->setValueAsString(value, IGNORE_EXCEPTION);
return property.release();
}
« no previous file with comments | « Source/core/svg/RadialGradientAttributes.h ('k') | Source/core/svg/SVGCircleElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698