| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 2008 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) 2009, 2014 Apple Inc. All rights reserved. | 4 * Copyright (C) 2009, 2014 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 void buildPendingResourcesIfNeeded(); | 241 void buildPendingResourcesIfNeeded(); |
| 242 | 242 |
| 243 WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> > m_elementsWithRelativ
eLengths; | 243 WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> > m_elementsWithRelativ
eLengths; |
| 244 | 244 |
| 245 typedef HashMap<QualifiedName, RefPtr<SVGAnimatedPropertyBase> > AttributeTo
PropertyMap; | 245 typedef HashMap<QualifiedName, RefPtr<SVGAnimatedPropertyBase> > AttributeTo
PropertyMap; |
| 246 AttributeToPropertyMap m_attributeToPropertyMap; | 246 AttributeToPropertyMap m_attributeToPropertyMap; |
| 247 | 247 |
| 248 #if ENABLE(ASSERT) | 248 #if ENABLE(ASSERT) |
| 249 bool m_inRelativeLengthClientsInvalidation; | 249 bool m_inRelativeLengthClientsInvalidation; |
| 250 #endif | 250 #endif |
| 251 unsigned m_isContextElement : 1; | |
| 252 | 251 |
| 253 OwnPtrWillBeMember<SVGElementRareData> m_SVGRareData; | 252 OwnPtrWillBeMember<SVGElementRareData> m_SVGRareData; |
| 254 RefPtr<SVGAnimatedString> m_className; | 253 RefPtr<SVGAnimatedString> m_className; |
| 255 }; | 254 }; |
| 256 | 255 |
| 257 struct SVGAttributeHashTranslator { | 256 struct SVGAttributeHashTranslator { |
| 258 static unsigned hash(const QualifiedName& key) | 257 static unsigned hash(const QualifiedName& key) |
| 259 { | 258 { |
| 260 if (key.hasPrefix()) { | 259 if (key.hasPrefix()) { |
| 261 QualifiedNameComponents components = { nullAtom.impl(), key.localNam
e().impl(), key.namespaceURI().impl() }; | 260 QualifiedNameComponents components = { nullAtom.impl(), key.localNam
e().impl(), key.namespaceURI().impl() }; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 286 template<typename T> inline bool is##thisType(const PassRefPtr<T>& node) { r
eturn is##thisType(node.get()); } \ | 285 template<typename T> inline bool is##thisType(const PassRefPtr<T>& node) { r
eturn is##thisType(node.get()); } \ |
| 287 template<typename T> inline bool is##thisType(const RefPtr<T>& node) { retur
n is##thisType(node.get()); } \ | 286 template<typename T> inline bool is##thisType(const RefPtr<T>& node) { retur
n is##thisType(node.get()); } \ |
| 288 template <> inline bool isElementOfType<const thisType>(const SVGElement& el
ement) { return is##thisType(element); } \ | 287 template <> inline bool isElementOfType<const thisType>(const SVGElement& el
ement) { return is##thisType(element); } \ |
| 289 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) | 288 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) |
| 290 | 289 |
| 291 } | 290 } |
| 292 | 291 |
| 293 #include "core/SVGElementTypeHelpers.h" | 292 #include "core/SVGElementTypeHelpers.h" |
| 294 | 293 |
| 295 #endif | 294 #endif |
| OLD | NEW |