OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann |
3 * <zimmermann@kde.org> | 3 * <zimmermann@kde.org> |
4 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org> | 4 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org> |
5 * Copyright (C) 2008 Apple Inc. All rights reserved. | 5 * Copyright (C) 2008 Apple Inc. All rights reserved. |
6 * Copyright (C) 2008 Alp Toker <alp@atoker.com> | 6 * Copyright (C) 2008 Alp Toker <alp@atoker.com> |
7 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> | 7 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> |
8 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 #include "wtf/Threading.h" | 55 #include "wtf/Threading.h" |
56 | 56 |
57 namespace blink { | 57 namespace blink { |
58 | 58 |
59 using namespace HTMLNames; | 59 using namespace HTMLNames; |
60 using namespace SVGNames; | 60 using namespace SVGNames; |
61 | 61 |
62 SVGElement::SVGElement(const QualifiedName& tagName, | 62 SVGElement::SVGElement(const QualifiedName& tagName, |
63 Document& document, | 63 Document& document, |
64 ConstructionType constructionType) | 64 ConstructionType constructionType) |
65 : Element(tagName, &document, constructionType) | 65 : Element(tagName, &document, constructionType), |
66 #if ENABLE(ASSERT) | 66 #if ENABLE(ASSERT) |
67 , | 67 m_inRelativeLengthClientsInvalidation(false), |
68 m_inRelativeLengthClientsInvalidation(false) | |
69 #endif | 68 #endif |
70 , | |
71 m_SVGRareData(nullptr), | 69 m_SVGRareData(nullptr), |
72 m_className(SVGAnimatedString::create(this, | 70 m_className(SVGAnimatedString::create(this, |
73 HTMLNames::classAttr, | 71 HTMLNames::classAttr, |
74 SVGString::create())) { | 72 SVGString::create())) { |
75 addToPropertyMap(m_className); | 73 addToPropertyMap(m_className); |
76 setHasCustomStyleCallbacks(); | 74 setHasCustomStyleCallbacks(); |
77 } | 75 } |
78 | 76 |
79 SVGElement::~SVGElement() { | 77 SVGElement::~SVGElement() { |
80 ASSERT(isConnected() || !hasRelativeLengths()); | 78 ASSERT(isConnected() || !hasRelativeLengths()); |
(...skipping 1149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1230 visitor->trace(m_className); | 1228 visitor->trace(m_className); |
1231 Element::trace(visitor); | 1229 Element::trace(visitor); |
1232 } | 1230 } |
1233 | 1231 |
1234 const AtomicString& SVGElement::eventParameterName() { | 1232 const AtomicString& SVGElement::eventParameterName() { |
1235 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt")); | 1233 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt")); |
1236 return evtString; | 1234 return evtString; |
1237 } | 1235 } |
1238 | 1236 |
1239 } // namespace blink | 1237 } // namespace blink |
OLD | NEW |