| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2009-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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 SVGStyledTransformableElement::svgAttributeChanged(attrName); | 101 SVGStyledTransformableElement::svgAttributeChanged(attrName); |
| 102 return; | 102 return; |
| 103 } | 103 } |
| 104 | 104 |
| 105 SVGElementInstance::InvalidationGuard invalidationGuard(this); | 105 SVGElementInstance::InvalidationGuard invalidationGuard(this); |
| 106 | 106 |
| 107 if (RenderObject* object = renderer()) | 107 if (RenderObject* object = renderer()) |
| 108 object->setNeedsLayout(true); | 108 object->setNeedsLayout(true); |
| 109 } | 109 } |
| 110 | 110 |
| 111 void SVGClipPathElement::childrenChanged(bool changedByParser, Node* beforeChang
e, Node* afterChange, int childCountDelta) | 111 void SVGClipPathElement::childrenChanged(bool changedByParser, const Handle<Node
>& beforeChange, const Handle<Node>& afterChange, int childCountDelta) |
| 112 { | 112 { |
| 113 SVGStyledTransformableElement::childrenChanged(changedByParser, beforeChange
, afterChange, childCountDelta); | 113 SVGStyledTransformableElement::childrenChanged(changedByParser, beforeChange
, afterChange, childCountDelta); |
| 114 | 114 |
| 115 if (changedByParser) | 115 if (changedByParser) |
| 116 return; | 116 return; |
| 117 | 117 |
| 118 if (RenderObject* object = renderer()) | 118 if (RenderObject* object = renderer()) |
| 119 object->setNeedsLayout(true); | 119 object->setNeedsLayout(true); |
| 120 } | 120 } |
| 121 | 121 |
| 122 RenderObject* SVGClipPathElement::createRenderer(RenderArena* arena, RenderStyle
*) | 122 RenderObject* SVGClipPathElement::createRenderer(RenderArena* arena, RenderStyle
*) |
| 123 { | 123 { |
| 124 return new (arena) RenderSVGResourceClipper(this); | 124 return new (arena) RenderSVGResourceClipper(this); |
| 125 } | 125 } |
| 126 | 126 |
| 127 } | 127 } |
| 128 | 128 |
| 129 #endif // ENABLE(SVG) | 129 #endif // ENABLE(SVG) |
| OLD | NEW |