OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Rob Buis <buis@kde.org> |
4 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2009-2010. 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 return; | 70 return; |
71 } | 71 } |
72 | 72 |
73 SVGElement::InvalidationGuard invalidationGuard(this); | 73 SVGElement::InvalidationGuard invalidationGuard(this); |
74 | 74 |
75 RenderSVGResourceContainer* renderer = toRenderSVGResourceContainer(this->re
nderer()); | 75 RenderSVGResourceContainer* renderer = toRenderSVGResourceContainer(this->re
nderer()); |
76 if (renderer) | 76 if (renderer) |
77 renderer->invalidateCacheAndMarkForLayout(); | 77 renderer->invalidateCacheAndMarkForLayout(); |
78 } | 78 } |
79 | 79 |
80 void SVGClipPathElement::childrenChanged(bool changedByParser, Node* beforeChang
e, Node* afterChange, int childCountDelta) | 80 void SVGClipPathElement::childrenChanged(const ChildrenChange& change) |
81 { | 81 { |
82 SVGGraphicsElement::childrenChanged(changedByParser, beforeChange, afterChan
ge, childCountDelta); | 82 SVGGraphicsElement::childrenChanged(change); |
83 | 83 |
84 if (changedByParser) | 84 if (change.byParser) |
85 return; | 85 return; |
86 | 86 |
87 if (RenderObject* object = renderer()) | 87 if (RenderObject* object = renderer()) |
88 object->setNeedsLayoutAndFullPaintInvalidation(); | 88 object->setNeedsLayoutAndFullPaintInvalidation(); |
89 } | 89 } |
90 | 90 |
91 RenderObject* SVGClipPathElement::createRenderer(RenderStyle*) | 91 RenderObject* SVGClipPathElement::createRenderer(RenderStyle*) |
92 { | 92 { |
93 return new RenderSVGResourceClipper(this); | 93 return new RenderSVGResourceClipper(this); |
94 } | 94 } |
95 | 95 |
96 } | 96 } |
OLD | NEW |