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

Unified Diff: Source/core/svg/animation/SVGSMILElement.cpp

Issue 271693003: Remove bad assertion in SVGSMILElement's constructQualifiedName() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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 | « LayoutTests/svg/custom/bad-attributeName-crash-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/animation/SVGSMILElement.cpp
diff --git a/Source/core/svg/animation/SVGSMILElement.cpp b/Source/core/svg/animation/SVGSMILElement.cpp
index 00db35def9def2f2f16902a6be8ae5524e04799e..2d68d22e01064e789d328daa7a70498d01b6d4e2 100644
--- a/Source/core/svg/animation/SVGSMILElement.cpp
+++ b/Source/core/svg/animation/SVGSMILElement.cpp
@@ -270,7 +270,7 @@ static inline QualifiedName constructQualifiedName(const SVGElement* svgElement,
AtomicString prefix;
AtomicString localName;
- if (!Document::parseQualifiedName(attributeName, prefix, localName, ASSERT_NO_EXCEPTION))
+ if (!Document::parseQualifiedName(attributeName, prefix, localName, IGNORE_EXCEPTION))
return anyQName();
const AtomicString& namespaceURI = svgElement->lookupNamespaceURI(prefix);
« no previous file with comments | « LayoutTests/svg/custom/bad-attributeName-crash-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698