diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-11 09:43:24 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-11 09:43:24 +0200 |
commit | 1b914638db989aaa98631a1c1e02c7b2d44805d8 (patch) | |
tree | 87f4fd2c7b38db320079a5de8877890d2ca3c485 /Source/WebCore/svg/SVGElement.cpp | |
parent | 2cf6c8816a73e0132bd8fa3b509d62d7c51b6e47 (diff) | |
download | qtwebkit-1b914638db989aaa98631a1c1e02c7b2d44805d8.tar.gz |
Imported WebKit commit 9a52e27980f47e8b0d8f8b7cc0fd7b5741bceb92 (http://svn.webkit.org/repository/webkit/trunk@116736)
New snapshot to include QDeclarative* -> QQml* build fixes
Diffstat (limited to 'Source/WebCore/svg/SVGElement.cpp')
-rw-r--r-- | Source/WebCore/svg/SVGElement.cpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/Source/WebCore/svg/SVGElement.cpp b/Source/WebCore/svg/SVGElement.cpp index 628ea5a02..de38209de 100644 --- a/Source/WebCore/svg/SVGElement.cpp +++ b/Source/WebCore/svg/SVGElement.cpp @@ -26,19 +26,13 @@ #if ENABLE(SVG) #include "SVGElement.h" -#include "Attribute.h" #include "CSSCursorImageValue.h" #include "DOMImplementation.h" #include "Document.h" #include "Event.h" -#include "EventListener.h" -#include "EventNames.h" -#include "FrameView.h" #include "HTMLNames.h" #include "NodeRenderingContext.h" -#include "RegisteredEventListener.h" #include "RenderObject.h" -#include "ShadowRoot.h" #include "SVGCursorElement.h" #include "SVGDocumentExtensions.h" #include "SVGElementInstance.h" @@ -47,10 +41,7 @@ #include "SVGSVGElement.h" #include "SVGStyledLocatableElement.h" #include "SVGTextElement.h" -#include "SVGURIReference.h" -#include "SVGUseElement.h" #include "ScriptEventListener.h" -#include "StyleResolver.h" #include "XMLNames.h" namespace WebCore { @@ -423,9 +414,6 @@ bool SVGElement::childShouldCreateRenderer(const NodeRenderingContext& childCont void SVGElement::attributeChanged(Attribute* attr) { ASSERT(attr); - if (!attr) - return; - StyledElement::attributeChanged(attr); // When an animated SVG property changes through SVG DOM, svgAttributeChanged() is called, not attributeChanged(). @@ -542,7 +530,7 @@ bool SVGElement::isAnimatableAttribute(const QualifiedName& name) DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, animatableAttributes, ()); if (animatableAttributes.isEmpty()) { - animatableAttributes.add(HTMLNames::classAttr); + animatableAttributes.add(classAttr); animatableAttributes.add(XLinkNames::hrefAttr); animatableAttributes.add(SVGNames::amplitudeAttr); animatableAttributes.add(SVGNames::azimuthAttr); |