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

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

Issue 1544673003: Refactor propagation of parsing errors for SVG attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.cpp b/third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.cpp
index e625e7eac3439353fe9a85a0ebf444e7ff1fa682..795d773442fbc34e4af8a827ac59fa6fd638c320 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.cpp
@@ -98,22 +98,22 @@ PassRefPtrWillBeRawPtr<SVGPropertyBase> SVGAnimatedTypeAnimator::createPropertyF
return SVGColorProperty::create(value);
case AnimatedNumber: {
RefPtrWillBeRawPtr<SVGNumber> property = SVGNumber::create();
- property->setValueAsString(value, IGNORE_EXCEPTION);
+ property->setValueAsString(value);
return property.release();
}
case AnimatedLength: {
RefPtrWillBeRawPtr<SVGLength> property = SVGLength::create();
- property->setValueAsString(value, IGNORE_EXCEPTION);
+ property->setValueAsString(value);
return property.release();
}
case AnimatedLengthList: {
RefPtrWillBeRawPtr<SVGLengthList> property = SVGLengthList::create();
- property->setValueAsString(value, IGNORE_EXCEPTION);
+ property->setValueAsString(value);
return property.release();
}
case AnimatedString: {
RefPtrWillBeRawPtr<SVGString> property = SVGString::create();
- property->setValueAsString(value, IGNORE_EXCEPTION);
+ property->setValueAsString(value);
return property.release();
}

Powered by Google App Engine
This is Rietveld 408576698