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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 void willRecalcStyle(StyleRecalcChange) override; | 262 void willRecalcStyle(StyleRecalcChange) override; |
263 | 263 |
264 void buildPendingResourcesIfNeeded(); | 264 void buildPendingResourcesIfNeeded(); |
265 | 265 |
266 HeapHashSet<WeakMember<SVGElement>> m_elementsWithRelativeLengths; | 266 HeapHashSet<WeakMember<SVGElement>> m_elementsWithRelativeLengths; |
267 | 267 |
268 typedef HeapHashMap<QualifiedName, Member<SVGAnimatedPropertyBase>> | 268 typedef HeapHashMap<QualifiedName, Member<SVGAnimatedPropertyBase>> |
269 AttributeToPropertyMap; | 269 AttributeToPropertyMap; |
270 AttributeToPropertyMap m_attributeToPropertyMap; | 270 AttributeToPropertyMap m_attributeToPropertyMap; |
271 | 271 |
272 #if ENABLE(ASSERT) | 272 #if DCHECK_IS_ON() |
273 bool m_inRelativeLengthClientsInvalidation; | 273 bool m_inRelativeLengthClientsInvalidation = false; |
274 #endif | 274 #endif |
275 | 275 |
276 Member<SVGElementRareData> m_SVGRareData; | 276 Member<SVGElementRareData> m_SVGRareData; |
277 Member<SVGAnimatedString> m_className; | 277 Member<SVGAnimatedString> m_className; |
278 }; | 278 }; |
279 | 279 |
280 struct SVGAttributeHashTranslator { | 280 struct SVGAttributeHashTranslator { |
281 STATIC_ONLY(SVGAttributeHashTranslator); | 281 STATIC_ONLY(SVGAttributeHashTranslator); |
282 static unsigned hash(const QualifiedName& key) { | 282 static unsigned hash(const QualifiedName& key) { |
283 if (key.hasPrefix()) { | 283 if (key.hasPrefix()) { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 inline bool isElementOfType<const thisType>(const SVGElement& element) { \ | 330 inline bool isElementOfType<const thisType>(const SVGElement& element) { \ |
331 return is##thisType(element); \ | 331 return is##thisType(element); \ |
332 } \ | 332 } \ |
333 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) | 333 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) |
334 | 334 |
335 } // namespace blink | 335 } // namespace blink |
336 | 336 |
337 #include "core/SVGElementTypeHelpers.h" | 337 #include "core/SVGElementTypeHelpers.h" |
338 | 338 |
339 #endif // SVGElement_h | 339 #endif // SVGElement_h |
OLD | NEW |