OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> |
4 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 SVGStyledElement::svgAttributeChanged(attrName); | 119 SVGStyledElement::svgAttributeChanged(attrName); |
120 return; | 120 return; |
121 } | 121 } |
122 | 122 |
123 SVGElementInstance::InvalidationGuard invalidationGuard(this); | 123 SVGElementInstance::InvalidationGuard invalidationGuard(this); |
124 | 124 |
125 if (RenderObject* object = renderer()) | 125 if (RenderObject* object = renderer()) |
126 object->setNeedsLayout(true); | 126 object->setNeedsLayout(true); |
127 } | 127 } |
128 | 128 |
129 void SVGGradientElement::childrenChanged(bool changedByParser, Node* beforeChang
e, Node* afterChange, int childCountDelta) | 129 void SVGGradientElement::childrenChanged(bool changedByParser, const Handle<Node
>& beforeChange, const Handle<Node>& afterChange, int childCountDelta) |
130 { | 130 { |
131 SVGStyledElement::childrenChanged(changedByParser, beforeChange, afterChange
, childCountDelta); | 131 SVGStyledElement::childrenChanged(changedByParser, beforeChange, afterChange
, childCountDelta); |
132 | 132 |
133 if (changedByParser) | 133 if (changedByParser) |
134 return; | 134 return; |
135 | 135 |
136 if (RenderObject* object = renderer()) | 136 if (RenderObject* object = renderer()) |
137 object->setNeedsLayout(true); | 137 object->setNeedsLayout(true); |
138 } | 138 } |
139 | 139 |
(...skipping 22 matching lines...) Expand all Loading... |
162 | 162 |
163 stops.append(Gradient::ColorStop(offset, r, g, b, a)); | 163 stops.append(Gradient::ColorStop(offset, r, g, b, a)); |
164 } | 164 } |
165 | 165 |
166 return stops; | 166 return stops; |
167 } | 167 } |
168 | 168 |
169 } | 169 } |
170 | 170 |
171 #endif // ENABLE(SVG) | 171 #endif // ENABLE(SVG) |
OLD | NEW |