OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde
.org> | 2 * Copyright (C) 2004, 2005, 2006, 2007, 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 if (attrName == SVGNames::xAttr | 164 if (attrName == SVGNames::xAttr |
165 || attrName == SVGNames::yAttr | 165 || attrName == SVGNames::yAttr |
166 || attrName == SVGNames::widthAttr | 166 || attrName == SVGNames::widthAttr |
167 || attrName == SVGNames::heightAttr) | 167 || attrName == SVGNames::heightAttr) |
168 updateRelativeLengthsInformation(); | 168 updateRelativeLengthsInformation(); |
169 | 169 |
170 if (RenderObject* object = renderer()) | 170 if (RenderObject* object = renderer()) |
171 object->setNeedsLayout(true); | 171 object->setNeedsLayout(true); |
172 } | 172 } |
173 | 173 |
174 void SVGPatternElement::childrenChanged(bool changedByParser, Node* beforeChange
, Node* afterChange, int childCountDelta) | 174 void SVGPatternElement::childrenChanged(bool changedByParser, const Handle<Node>
& beforeChange, const Handle<Node>& afterChange, int childCountDelta) |
175 { | 175 { |
176 SVGStyledElement::childrenChanged(changedByParser, beforeChange, afterChange
, childCountDelta); | 176 SVGStyledElement::childrenChanged(changedByParser, beforeChange, afterChange
, childCountDelta); |
177 | 177 |
178 if (changedByParser) | 178 if (changedByParser) |
179 return; | 179 return; |
180 | 180 |
181 if (RenderObject* object = renderer()) | 181 if (RenderObject* object = renderer()) |
182 object->setNeedsLayout(true); | 182 object->setNeedsLayout(true); |
183 } | 183 } |
184 | 184 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 { | 254 { |
255 return x().isRelative() | 255 return x().isRelative() |
256 || y().isRelative() | 256 || y().isRelative() |
257 || width().isRelative() | 257 || width().isRelative() |
258 || height().isRelative(); | 258 || height().isRelative(); |
259 } | 259 } |
260 | 260 |
261 } | 261 } |
262 | 262 |
263 #endif // ENABLE(SVG) | 263 #endif // ENABLE(SVG) |
OLD | NEW |