OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 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) 2009 Dirk Schulze <krit@webkit.org> | 4 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> |
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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 return false; | 96 return false; |
97 } | 97 } |
98 | 98 |
99 void SVGFilterPrimitiveStandardAttributes::svgAttributeChanged(const QualifiedNa
me& attrName) | 99 void SVGFilterPrimitiveStandardAttributes::svgAttributeChanged(const QualifiedNa
me& attrName) |
100 { | 100 { |
101 if (!isSupportedAttribute(attrName)) { | 101 if (!isSupportedAttribute(attrName)) { |
102 SVGElement::svgAttributeChanged(attrName); | 102 SVGElement::svgAttributeChanged(attrName); |
103 return; | 103 return; |
104 } | 104 } |
105 | 105 |
106 SVGElementInstance::InvalidationGuard invalidationGuard(this); | 106 SVGElement::InvalidationGuard invalidationGuard(this); |
107 invalidate(); | 107 invalidate(); |
108 } | 108 } |
109 | 109 |
110 void SVGFilterPrimitiveStandardAttributes::childrenChanged(bool changedByParser,
Node* beforeChange, Node* afterChange, int childCountDelta) | 110 void SVGFilterPrimitiveStandardAttributes::childrenChanged(bool changedByParser,
Node* beforeChange, Node* afterChange, int childCountDelta) |
111 { | 111 { |
112 SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, chil
dCountDelta); | 112 SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, chil
dCountDelta); |
113 | 113 |
114 if (!changedByParser) | 114 if (!changedByParser) |
115 invalidate(); | 115 invalidate(); |
116 } | 116 } |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 return; | 161 return; |
162 | 162 |
163 RenderObject* renderer = parent->renderer(); | 163 RenderObject* renderer = parent->renderer(); |
164 if (!renderer || !renderer->isSVGResourceFilterPrimitive()) | 164 if (!renderer || !renderer->isSVGResourceFilterPrimitive()) |
165 return; | 165 return; |
166 | 166 |
167 RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer, fals
e); | 167 RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer, fals
e); |
168 } | 168 } |
169 | 169 |
170 } | 170 } |
OLD | NEW |