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) 2006 Samuel Weinig <sam.weinig@gmail.com> | 4 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> | 5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> |
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 reportAttributeParsingError(parseError, name, value); | 118 reportAttributeParsingError(parseError, name, value); |
119 } | 119 } |
120 | 120 |
121 void SVGFilterElement::svgAttributeChanged(const QualifiedName& attrName) | 121 void SVGFilterElement::svgAttributeChanged(const QualifiedName& attrName) |
122 { | 122 { |
123 if (!isSupportedAttribute(attrName)) { | 123 if (!isSupportedAttribute(attrName)) { |
124 SVGElement::svgAttributeChanged(attrName); | 124 SVGElement::svgAttributeChanged(attrName); |
125 return; | 125 return; |
126 } | 126 } |
127 | 127 |
128 SVGElementInstance::InvalidationGuard invalidationGuard(this); | 128 SVGElement::InvalidationGuard invalidationGuard(this); |
129 | 129 |
130 if (attrName == SVGNames::xAttr | 130 if (attrName == SVGNames::xAttr |
131 || attrName == SVGNames::yAttr | 131 || attrName == SVGNames::yAttr |
132 || attrName == SVGNames::widthAttr | 132 || attrName == SVGNames::widthAttr |
133 || attrName == SVGNames::heightAttr) | 133 || attrName == SVGNames::heightAttr) |
134 updateRelativeLengthsInformation(); | 134 updateRelativeLengthsInformation(); |
135 | 135 |
136 RenderSVGResourceContainer* renderer = toRenderSVGResourceContainer(this->re
nderer()); | 136 RenderSVGResourceContainer* renderer = toRenderSVGResourceContainer(this->re
nderer()); |
137 if (renderer) | 137 if (renderer) |
138 renderer->invalidateCacheAndMarkForLayout(); | 138 renderer->invalidateCacheAndMarkForLayout(); |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 m_clientsToAdd.add(client); | 175 m_clientsToAdd.add(client); |
176 } | 176 } |
177 | 177 |
178 void SVGFilterElement::removeClient(Node* client) | 178 void SVGFilterElement::removeClient(Node* client) |
179 { | 179 { |
180 ASSERT(client); | 180 ASSERT(client); |
181 m_clientsToAdd.remove(client); | 181 m_clientsToAdd.remove(client); |
182 } | 182 } |
183 | 183 |
184 } | 184 } |
OLD | NEW |