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

Unified Diff: Source/core/svg/SVGAnimatedAngle.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/rendering/style/SVGRenderStyle.h ('k') | Source/core/svg/SVGAnimatedLength.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAnimatedAngle.cpp
diff --git a/Source/core/svg/SVGAnimatedAngle.cpp b/Source/core/svg/SVGAnimatedAngle.cpp
index b560432ff804d1785b938d7fc9ce3f7c66588f52..e5e1a771cc232d74276f8a8e065ad589100e2e30 100644
--- a/Source/core/svg/SVGAnimatedAngle.cpp
+++ b/Source/core/svg/SVGAnimatedAngle.cpp
@@ -34,7 +34,7 @@ SVGAnimatedAngleAnimator::SVGAnimatedAngleAnimator(SVGAnimationElement* animatio
static inline SVGAngle& sharedSVGAngle(const String& valueAsString)
{
DEFINE_STATIC_LOCAL(SVGAngle, sharedAngle, ());
- sharedAngle.setValueAsString(valueAsString, ASSERT_NO_EXCEPTION_STATE);
+ sharedAngle.setValueAsString(valueAsString, ASSERT_NO_EXCEPTION);
return sharedAngle;
}
@@ -150,9 +150,9 @@ void SVGAnimatedAngleAnimator::calculateAnimatedValue(float percentage, unsigned
float SVGAnimatedAngleAnimator::calculateDistance(const String& fromString, const String& toString)
{
SVGAngle from = SVGAngle();
- from.setValueAsString(fromString, ASSERT_NO_EXCEPTION_STATE);
+ from.setValueAsString(fromString, ASSERT_NO_EXCEPTION);
SVGAngle to = SVGAngle();
- to.setValueAsString(toString, ASSERT_NO_EXCEPTION_STATE);
+ to.setValueAsString(toString, ASSERT_NO_EXCEPTION);
return fabsf(to.value() - from.value());
}
« no previous file with comments | « Source/core/rendering/style/SVGRenderStyle.h ('k') | Source/core/svg/SVGAnimatedLength.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698