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 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
5 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 5 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 22 matching lines...) Expand all Loading... |
33 String SVGPathSegList::valueAsString() const | 33 String SVGPathSegList::valueAsString() const |
34 { | 34 { |
35 String pathString; | 35 String pathString; |
36 buildStringFromSVGPathSegList(*this, pathString, UnalteredParsing); | 36 buildStringFromSVGPathSegList(*this, pathString, UnalteredParsing); |
37 return pathString; | 37 return pathString; |
38 } | 38 } |
39 | 39 |
40 void SVGPathSegList::commitChange(SVGElement* contextElement, ListModification l
istModification) | 40 void SVGPathSegList::commitChange(SVGElement* contextElement, ListModification l
istModification) |
41 { | 41 { |
42 ASSERT(contextElement); | 42 ASSERT(contextElement); |
43 ASSERT(contextElement->hasTagName(SVGNames::pathTag)); | 43 toSVGPathElement(contextElement)->pathSegListChanged(m_role, listModificatio
n); |
44 static_cast<SVGPathElement*>(contextElement)->pathSegListChanged(m_role, lis
tModification); | |
45 } | 44 } |
46 | 45 |
47 } | 46 } |
OLD | NEW |