| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde
.org> | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde
.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2008 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) 2008 Alp Toker <alp@atoker.com> | 5 * Copyright (C) 2008 Alp Toker <alp@atoker.com> |
| 6 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> | 6 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 969 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 980 if (m_targetElement) | 980 if (m_targetElement) |
| 981 m_targetElement->setInstanceUpdatesBlocked(true); | 981 m_targetElement->setInstanceUpdatesBlocked(true); |
| 982 } | 982 } |
| 983 | 983 |
| 984 SVGElement::InstanceUpdateBlocker::~InstanceUpdateBlocker() | 984 SVGElement::InstanceUpdateBlocker::~InstanceUpdateBlocker() |
| 985 { | 985 { |
| 986 if (m_targetElement) | 986 if (m_targetElement) |
| 987 m_targetElement->setInstanceUpdatesBlocked(false); | 987 m_targetElement->setInstanceUpdatesBlocked(false); |
| 988 } | 988 } |
| 989 | 989 |
| 990 #ifndef NDEBUG | 990 #if ENABLE(ASSERT) |
| 991 bool SVGElement::isAnimatableAttribute(const QualifiedName& name) const | 991 bool SVGElement::isAnimatableAttribute(const QualifiedName& name) const |
| 992 { | 992 { |
| 993 DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, animatableAttributes, ()); | 993 DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, animatableAttributes, ()); |
| 994 | 994 |
| 995 if (animatableAttributes.isEmpty()) { | 995 if (animatableAttributes.isEmpty()) { |
| 996 animatableAttributes.add(XLinkNames::hrefAttr); | 996 animatableAttributes.add(XLinkNames::hrefAttr); |
| 997 animatableAttributes.add(SVGNames::amplitudeAttr); | 997 animatableAttributes.add(SVGNames::amplitudeAttr); |
| 998 animatableAttributes.add(SVGNames::azimuthAttr); | 998 animatableAttributes.add(SVGNames::azimuthAttr); |
| 999 animatableAttributes.add(SVGNames::baseFrequencyAttr); | 999 animatableAttributes.add(SVGNames::baseFrequencyAttr); |
| 1000 animatableAttributes.add(SVGNames::biasAttr); | 1000 animatableAttributes.add(SVGNames::biasAttr); |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1167 Element::trace(visitor); | 1167 Element::trace(visitor); |
| 1168 } | 1168 } |
| 1169 | 1169 |
| 1170 const AtomicString& SVGElement::eventParameterName() | 1170 const AtomicString& SVGElement::eventParameterName() |
| 1171 { | 1171 { |
| 1172 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt", AtomicString::Con
structFromLiteral)); | 1172 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt", AtomicString::Con
structFromLiteral)); |
| 1173 return evtString; | 1173 return evtString; |
| 1174 } | 1174 } |
| 1175 | 1175 |
| 1176 } | 1176 } |
| OLD | NEW |