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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 { | 99 { |
100 if (!isSupportedAttribute(attrName)) { | 100 if (!isSupportedAttribute(attrName)) { |
101 SVGElement::svgAttributeChanged(attrName); | 101 SVGElement::svgAttributeChanged(attrName); |
102 return; | 102 return; |
103 } | 103 } |
104 | 104 |
105 SVGElement::InvalidationGuard invalidationGuard(this); | 105 SVGElement::InvalidationGuard invalidationGuard(this); |
106 invalidate(); | 106 invalidate(); |
107 } | 107 } |
108 | 108 |
109 void SVGFilterPrimitiveStandardAttributes::childrenChanged(bool changedByParser,
Node* beforeChange, Node* afterChange, int childCountDelta) | 109 void SVGFilterPrimitiveStandardAttributes::childrenChanged(const ChildrenChange&
change) |
110 { | 110 { |
111 SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, chil
dCountDelta); | 111 SVGElement::childrenChanged(change); |
112 | 112 |
113 if (!changedByParser) | 113 if (!change.byParser) |
114 invalidate(); | 114 invalidate(); |
115 } | 115 } |
116 | 116 |
117 void SVGFilterPrimitiveStandardAttributes::setStandardAttributes(FilterEffect* f
ilterEffect) const | 117 void SVGFilterPrimitiveStandardAttributes::setStandardAttributes(FilterEffect* f
ilterEffect) const |
118 { | 118 { |
119 ASSERT(filterEffect); | 119 ASSERT(filterEffect); |
120 if (!filterEffect) | 120 if (!filterEffect) |
121 return; | 121 return; |
122 | 122 |
123 if (hasAttribute(SVGNames::xAttr)) | 123 if (hasAttribute(SVGNames::xAttr)) |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 return; | 160 return; |
161 | 161 |
162 RenderObject* renderer = parent->renderer(); | 162 RenderObject* renderer = parent->renderer(); |
163 if (!renderer || !renderer->isSVGResourceFilterPrimitive()) | 163 if (!renderer || !renderer->isSVGResourceFilterPrimitive()) |
164 return; | 164 return; |
165 | 165 |
166 RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer, fals
e); | 166 RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer, fals
e); |
167 } | 167 } |
168 | 168 |
169 } | 169 } |
OLD | NEW |