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

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

Issue 22417002: Rename ASSERT_NO_EXCEPTION_STATE and IGNORE_EXCEPTION_STATE (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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/SVGAnimatedAngle.cpp ('k') | Source/core/svg/SVGAnimatedLengthList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAnimatedLength.cpp
diff --git a/Source/core/svg/SVGAnimatedLength.cpp b/Source/core/svg/SVGAnimatedLength.cpp
index 1492caef8b8c777b564fe3e1a6641eb5def2f01b..d1f127ea02fd90e9f7e558e51951b51a8704b25d 100644
--- a/Source/core/svg/SVGAnimatedLength.cpp
+++ b/Source/core/svg/SVGAnimatedLength.cpp
@@ -35,7 +35,7 @@ SVGAnimatedLengthAnimator::SVGAnimatedLengthAnimator(SVGAnimationElement* animat
static inline SVGLength& sharedSVGLength(SVGLengthMode mode, const String& valueAsString)
{
DEFINE_STATIC_LOCAL(SVGLength, sharedLength, ());
- sharedLength.setValueAsString(valueAsString, mode, ASSERT_NO_EXCEPTION_STATE);
+ sharedLength.setValueAsString(valueAsString, mode, ASSERT_NO_EXCEPTION);
return sharedLength;
}
@@ -78,7 +78,7 @@ void SVGAnimatedLengthAnimator::addAnimatedTypes(SVGAnimatedType* from, SVGAnima
const SVGLength& fromLength = from->length();
SVGLength& toLength = to->length();
- toLength.setValue(toLength.value(lengthContext) + fromLength.value(lengthContext), lengthContext, ASSERT_NO_EXCEPTION_STATE);
+ toLength.setValue(toLength.value(lengthContext) + fromLength.value(lengthContext), lengthContext, ASSERT_NO_EXCEPTION);
}
static SVGLength parseLengthFromString(SVGAnimationElement* animationElement, const String& string)
@@ -105,7 +105,7 @@ void SVGAnimatedLengthAnimator::calculateAnimatedValue(float percentage, unsigne
SVGLengthType unitType = percentage < 0.5 ? fromSVGLength.unitType() : toSVGLength.unitType();
m_animationElement->animateAdditiveNumber(percentage, repeatCount, fromSVGLength.value(lengthContext), toSVGLength.value(lengthContext), toAtEndOfDurationSVGLength.value(lengthContext), animatedNumber);
- animatedSVGLength.setValue(lengthContext, animatedNumber, m_lengthMode, unitType, ASSERT_NO_EXCEPTION_STATE);
+ animatedSVGLength.setValue(lengthContext, animatedNumber, m_lengthMode, unitType, ASSERT_NO_EXCEPTION);
}
float SVGAnimatedLengthAnimator::calculateDistance(const String& fromString, const String& toString)
« no previous file with comments | « Source/core/svg/SVGAnimatedAngle.cpp ('k') | Source/core/svg/SVGAnimatedLengthList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698