| 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) 2005 Alexander Kellett <lypanov@kde.org> | 4 * Copyright (C) 2005 Alexander Kellett <lypanov@kde.org> |
| 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 2009-2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2009-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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 renderer->invalidateCacheAndMarkForLayout(); | 110 renderer->invalidateCacheAndMarkForLayout(); |
| 111 } | 111 } |
| 112 | 112 |
| 113 void SVGMaskElement::childrenChanged(const ChildrenChange& change) | 113 void SVGMaskElement::childrenChanged(const ChildrenChange& change) |
| 114 { | 114 { |
| 115 SVGElement::childrenChanged(change); | 115 SVGElement::childrenChanged(change); |
| 116 | 116 |
| 117 if (change.byParser) | 117 if (change.byParser) |
| 118 return; | 118 return; |
| 119 | 119 |
| 120 if (RenderObject* object = renderer()) | 120 if (LayoutObject* object = renderer()) |
| 121 object->setNeedsLayoutAndFullPaintInvalidation(); | 121 object->setNeedsLayoutAndFullPaintInvalidation(); |
| 122 } | 122 } |
| 123 | 123 |
| 124 RenderObject* SVGMaskElement::createRenderer(const RenderStyle&) | 124 LayoutObject* SVGMaskElement::createRenderer(const RenderStyle&) |
| 125 { | 125 { |
| 126 return new RenderSVGResourceMasker(this); | 126 return new RenderSVGResourceMasker(this); |
| 127 } | 127 } |
| 128 | 128 |
| 129 bool SVGMaskElement::selfHasRelativeLengths() const | 129 bool SVGMaskElement::selfHasRelativeLengths() const |
| 130 { | 130 { |
| 131 return m_x->currentValue()->isRelative() | 131 return m_x->currentValue()->isRelative() |
| 132 || m_y->currentValue()->isRelative() | 132 || m_y->currentValue()->isRelative() |
| 133 || m_width->currentValue()->isRelative() | 133 || m_width->currentValue()->isRelative() |
| 134 || m_height->currentValue()->isRelative(); | 134 || m_height->currentValue()->isRelative(); |
| 135 } | 135 } |
| 136 | 136 |
| 137 } // namespace blink | 137 } // namespace blink |
| OLD | NEW |