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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp

Issue 2615953003: Rename IGNORE_EXCEPTION to IGNORE_EXCEPTION_FOR_TESTING (Closed)
Patch Set: temp Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org>
4 * Copyright (C) 2008 Apple Inc. All rights reserved. 4 * Copyright (C) 2008 Apple Inc. All rights reserved.
5 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 5 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 QualifiedName constructQualifiedName(const SVGElement& svgElement, 73 QualifiedName constructQualifiedName(const SVGElement& svgElement,
74 const AtomicString& attributeName) { 74 const AtomicString& attributeName) {
75 if (attributeName.isEmpty()) 75 if (attributeName.isEmpty())
76 return anyQName(); 76 return anyQName();
77 if (!attributeName.contains(':')) 77 if (!attributeName.contains(':'))
78 return QualifiedName(nullAtom, attributeName, nullAtom); 78 return QualifiedName(nullAtom, attributeName, nullAtom);
79 79
80 AtomicString prefix; 80 AtomicString prefix;
81 AtomicString localName; 81 AtomicString localName;
82 if (!Document::parseQualifiedName(attributeName, prefix, localName, 82 if (!Document::parseQualifiedName(attributeName, prefix, localName,
83 IGNORE_EXCEPTION)) 83 IGNORE_EXCEPTION_FOR_TESTING))
84 return anyQName(); 84 return anyQName();
85 85
86 const AtomicString& namespaceURI = svgElement.lookupNamespaceURI(prefix); 86 const AtomicString& namespaceURI = svgElement.lookupNamespaceURI(prefix);
87 if (namespaceURI.isEmpty()) 87 if (namespaceURI.isEmpty())
88 return anyQName(); 88 return anyQName();
89 89
90 QualifiedName resolvedAttrName(nullAtom, localName, namespaceURI); 90 QualifiedName resolvedAttrName(nullAtom, localName, namespaceURI);
91 // "Animation elements treat attributeName='xlink:href' as being an alias 91 // "Animation elements treat attributeName='xlink:href' as being an alias
92 // for targetting the 'href' attribute." 92 // for targetting the 'href' attribute."
93 // https://svgwg.org/svg2-draft/types.html#__svg__SVGURIReference__href 93 // https://svgwg.org/svg2-draft/types.html#__svg__SVGURIReference__href
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 DEFINE_TRACE(SVGAnimateElement) { 614 DEFINE_TRACE(SVGAnimateElement) {
615 visitor->trace(m_fromProperty); 615 visitor->trace(m_fromProperty);
616 visitor->trace(m_toProperty); 616 visitor->trace(m_toProperty);
617 visitor->trace(m_toAtEndOfDurationProperty); 617 visitor->trace(m_toAtEndOfDurationProperty);
618 visitor->trace(m_animatedValue); 618 visitor->trace(m_animatedValue);
619 visitor->trace(m_targetProperty); 619 visitor->trace(m_targetProperty);
620 SVGAnimationElement::trace(visitor); 620 SVGAnimationElement::trace(visitor);
621 } 621 }
622 622
623 } // namespace blink 623 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/HttpEquiv.cpp ('k') | third_party/WebKit/Source/core/svg/SVGTitleElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698