| 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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 // and just clear their sets. | 327 // and just clear their sets. |
| 328 if (rootParent->isSVGElement() && !parentNode()) { | 328 if (rootParent->isSVGElement() && !parentNode()) { |
| 329 ASSERT(toSVGElement(rootParent) | 329 ASSERT(toSVGElement(rootParent) |
| 330 ->m_elementsWithRelativeLengths.contains(this)); | 330 ->m_elementsWithRelativeLengths.contains(this)); |
| 331 toSVGElement(rootParent)->updateRelativeLengthsInformation(false, this); | 331 toSVGElement(rootParent)->updateRelativeLengthsInformation(false, this); |
| 332 } | 332 } |
| 333 | 333 |
| 334 m_elementsWithRelativeLengths.clear(); | 334 m_elementsWithRelativeLengths.clear(); |
| 335 } | 335 } |
| 336 | 336 |
| 337 ASSERT_WITH_SECURITY_IMPLICATION( | 337 SECURITY_DCHECK( |
| 338 !rootParent->isSVGElement() || | 338 !rootParent->isSVGElement() || |
| 339 !toSVGElement(rootParent)->m_elementsWithRelativeLengths.contains(this)); | 339 !toSVGElement(rootParent)->m_elementsWithRelativeLengths.contains(this)); |
| 340 | 340 |
| 341 Element::removedFrom(rootParent); | 341 Element::removedFrom(rootParent); |
| 342 | 342 |
| 343 if (wasInDocument) { | 343 if (wasInDocument) { |
| 344 rebuildAllIncomingReferences(); | 344 rebuildAllIncomingReferences(); |
| 345 removeAllIncomingReferences(); | 345 removeAllIncomingReferences(); |
| 346 } | 346 } |
| 347 | 347 |
| (...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1226 visitor->trace(m_className); | 1226 visitor->trace(m_className); |
| 1227 Element::trace(visitor); | 1227 Element::trace(visitor); |
| 1228 } | 1228 } |
| 1229 | 1229 |
| 1230 const AtomicString& SVGElement::eventParameterName() { | 1230 const AtomicString& SVGElement::eventParameterName() { |
| 1231 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt")); | 1231 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt")); |
| 1232 return evtString; | 1232 return evtString; |
| 1233 } | 1233 } |
| 1234 | 1234 |
| 1235 } // namespace blink | 1235 } // namespace blink |
| OLD | NEW |