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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 { | 143 { |
144 SVGElement::childrenChanged(change); | 144 SVGElement::childrenChanged(change); |
145 | 145 |
146 if (change.byParser) | 146 if (change.byParser) |
147 return; | 147 return; |
148 | 148 |
149 if (LayoutObject* object = layoutObject()) | 149 if (LayoutObject* object = layoutObject()) |
150 object->setNeedsLayoutAndFullPaintInvalidation(); | 150 object->setNeedsLayoutAndFullPaintInvalidation(); |
151 } | 151 } |
152 | 152 |
153 LayoutObject* SVGMaskElement::createLayoutObject(const LayoutStyle&) | 153 LayoutObject* SVGMaskElement::createLayoutObject(const ComputedStyle&) |
154 { | 154 { |
155 return new LayoutSVGResourceMasker(this); | 155 return new LayoutSVGResourceMasker(this); |
156 } | 156 } |
157 | 157 |
158 bool SVGMaskElement::selfHasRelativeLengths() const | 158 bool SVGMaskElement::selfHasRelativeLengths() const |
159 { | 159 { |
160 return m_x->currentValue()->isRelative() | 160 return m_x->currentValue()->isRelative() |
161 || m_y->currentValue()->isRelative() | 161 || m_y->currentValue()->isRelative() |
162 || m_width->currentValue()->isRelative() | 162 || m_width->currentValue()->isRelative() |
163 || m_height->currentValue()->isRelative(); | 163 || m_height->currentValue()->isRelative(); |
164 } | 164 } |
165 | 165 |
166 } // namespace blink | 166 } // namespace blink |
OLD | NEW |