| 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 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 471 ASSERT(!m_inRelativeLengthClientsInvalidation); | 471 ASSERT(!m_inRelativeLengthClientsInvalidation); |
| 472 #if ASSERT_ENABLED | 472 #if ASSERT_ENABLED |
| 473 TemporaryChange<bool> inRelativeLengthClientsInvalidationChange(m_inRelative
LengthClientsInvalidation, true); | 473 TemporaryChange<bool> inRelativeLengthClientsInvalidationChange(m_inRelative
LengthClientsInvalidation, true); |
| 474 #endif | 474 #endif |
| 475 | 475 |
| 476 RenderObject* renderer = this->renderer(); | 476 RenderObject* renderer = this->renderer(); |
| 477 if (renderer && selfHasRelativeLengths()) { | 477 if (renderer && selfHasRelativeLengths()) { |
| 478 if (renderer->isSVGResourceContainer()) | 478 if (renderer->isSVGResourceContainer()) |
| 479 toRenderSVGResourceContainer(renderer)->invalidateCacheAndMarkForLay
out(layoutScope); | 479 toRenderSVGResourceContainer(renderer)->invalidateCacheAndMarkForLay
out(layoutScope); |
| 480 else | 480 else |
| 481 renderer->setNeedsLayoutAndFullRepaint(MarkContainingBlockChain, lay
outScope); | 481 renderer->setNeedsLayoutAndFullPaintInvalidation(MarkContainingBlock
Chain, layoutScope); |
| 482 } | 482 } |
| 483 | 483 |
| 484 WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> >::iterator end = m_ele
mentsWithRelativeLengths.end(); | 484 WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> >::iterator end = m_ele
mentsWithRelativeLengths.end(); |
| 485 for (WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> >::iterator it = m
_elementsWithRelativeLengths.begin(); it != end; ++it) { | 485 for (WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> >::iterator it = m
_elementsWithRelativeLengths.begin(); it != end; ++it) { |
| 486 if (*it != this) | 486 if (*it != this) |
| 487 (*it)->invalidateRelativeLengthClients(layoutScope); | 487 (*it)->invalidateRelativeLengthClients(layoutScope); |
| 488 } | 488 } |
| 489 } | 489 } |
| 490 | 490 |
| 491 SVGSVGElement* SVGElement::ownerSVGElement() const | 491 SVGSVGElement* SVGElement::ownerSVGElement() const |
| (...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1176 Element::trace(visitor); | 1176 Element::trace(visitor); |
| 1177 } | 1177 } |
| 1178 | 1178 |
| 1179 const AtomicString& SVGElement::eventParameterName() | 1179 const AtomicString& SVGElement::eventParameterName() |
| 1180 { | 1180 { |
| 1181 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt", AtomicString::Con
structFromLiteral)); | 1181 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt", AtomicString::Con
structFromLiteral)); |
| 1182 return evtString; | 1182 return evtString; |
| 1183 } | 1183 } |
| 1184 | 1184 |
| 1185 } | 1185 } |
| OLD | NEW |