| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 #include "wtf/Threading.h" | 54 #include "wtf/Threading.h" |
| 55 | 55 |
| 56 namespace blink { | 56 namespace blink { |
| 57 | 57 |
| 58 using namespace HTMLNames; | 58 using namespace HTMLNames; |
| 59 using namespace SVGNames; | 59 using namespace SVGNames; |
| 60 | 60 |
| 61 SVGElement::SVGElement(const QualifiedName& tagName, | 61 SVGElement::SVGElement(const QualifiedName& tagName, |
| 62 Document& document, | 62 Document& document, |
| 63 ConstructionType constructionType) | 63 ConstructionType constructionType) |
| 64 : Element(tagName, &document, constructionType) | 64 : Element(tagName, &document, constructionType), |
| 65 #if ENABLE(ASSERT) | 65 #if ENABLE(ASSERT) |
| 66 , | 66 m_inRelativeLengthClientsInvalidation(false), |
| 67 m_inRelativeLengthClientsInvalidation(false) | |
| 68 #endif | 67 #endif |
| 69 , | |
| 70 m_SVGRareData(nullptr), | 68 m_SVGRareData(nullptr), |
| 71 m_className(SVGAnimatedString::create(this, | 69 m_className(SVGAnimatedString::create(this, |
| 72 HTMLNames::classAttr, | 70 HTMLNames::classAttr, |
| 73 SVGString::create())) { | 71 SVGString::create())) { |
| 74 addToPropertyMap(m_className); | 72 addToPropertyMap(m_className); |
| 75 setHasCustomStyleCallbacks(); | 73 setHasCustomStyleCallbacks(); |
| 76 } | 74 } |
| 77 | 75 |
| 78 SVGElement::~SVGElement() { | 76 SVGElement::~SVGElement() { |
| 79 ASSERT(isConnected() || !hasRelativeLengths()); | 77 ASSERT(isConnected() || !hasRelativeLengths()); |
| (...skipping 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1209 visitor->trace(m_className); | 1207 visitor->trace(m_className); |
| 1210 Element::trace(visitor); | 1208 Element::trace(visitor); |
| 1211 } | 1209 } |
| 1212 | 1210 |
| 1213 const AtomicString& SVGElement::eventParameterName() { | 1211 const AtomicString& SVGElement::eventParameterName() { |
| 1214 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt")); | 1212 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt")); |
| 1215 return evtString; | 1213 return evtString; |
| 1216 } | 1214 } |
| 1217 | 1215 |
| 1218 } // namespace blink | 1216 } // namespace blink |
| OLD | NEW |