OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007 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) 2005 Oliver Hunt <oliver@nerget.com> | 4 * Copyright (C) 2005 Oliver Hunt <oliver@nerget.com> |
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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 } | 147 } |
148 if (isSVGFESpecularLightingElement(*parent)) { | 148 if (isSVGFESpecularLightingElement(*parent)) { |
149 toSVGFESpecularLightingElement(*parent).lightElementAttributeChanged
(this, attrName); | 149 toSVGFESpecularLightingElement(*parent).lightElementAttributeChanged
(this, attrName); |
150 return; | 150 return; |
151 } | 151 } |
152 } | 152 } |
153 | 153 |
154 ASSERT_NOT_REACHED(); | 154 ASSERT_NOT_REACHED(); |
155 } | 155 } |
156 | 156 |
157 void SVGFELightElement::childrenChanged(bool changedByParser, Node* beforeChange
, Node* afterChange, int childCountDelta) | 157 void SVGFELightElement::childrenChanged(const ChildrenChange& change) |
158 { | 158 { |
159 SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, chil
dCountDelta); | 159 SVGElement::childrenChanged(change); |
160 | 160 |
161 if (!changedByParser) { | 161 if (!change.byParser) { |
162 if (ContainerNode* parent = parentNode()) { | 162 if (ContainerNode* parent = parentNode()) { |
163 RenderObject* renderer = parent->renderer(); | 163 RenderObject* renderer = parent->renderer(); |
164 if (renderer && renderer->isSVGResourceFilterPrimitive()) | 164 if (renderer && renderer->isSVGResourceFilterPrimitive()) |
165 RenderSVGResource::markForLayoutAndParentResourceInvalidation(re
nderer); | 165 RenderSVGResource::markForLayoutAndParentResourceInvalidation(re
nderer); |
166 } | 166 } |
167 } | 167 } |
168 } | 168 } |
169 | 169 |
170 } | 170 } |
OLD | NEW |