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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 { | 51 { |
52 ASSERT(contextElement); | 52 ASSERT(contextElement); |
53 } | 53 } |
54 | 54 |
55 SVGPathSegList::~SVGPathSegList() | 55 SVGPathSegList::~SVGPathSegList() |
56 { | 56 { |
57 } | 57 } |
58 | 58 |
59 DEFINE_TRACE(SVGPathSegList) | 59 DEFINE_TRACE(SVGPathSegList) |
60 { | 60 { |
61 visitor->trace(m_contextElement); | |
62 SVGListPropertyHelper<SVGPathSegList, SVGPathSeg>::trace(visitor); | 61 SVGListPropertyHelper<SVGPathSegList, SVGPathSeg>::trace(visitor); |
63 } | 62 } |
64 | 63 |
65 PassRefPtrWillBeRawPtr<SVGPathSegList> SVGPathSegList::clone() | 64 PassRefPtrWillBeRawPtr<SVGPathSegList> SVGPathSegList::clone() |
66 { | 65 { |
67 RefPtrWillBeRawPtr<SVGPathSegList> svgPathSegList = adoptRefWillBeNoop(new S
VGPathSegList(m_contextElement, byteStream()->copy())); | 66 RefPtrWillBeRawPtr<SVGPathSegList> svgPathSegList = adoptRefWillBeNoop(new S
VGPathSegList(m_contextElement, byteStream()->copy())); |
68 svgPathSegList->invalidateList(); | 67 svgPathSegList->invalidateList(); |
69 return svgPathSegList.release(); | 68 return svgPathSegList.release(); |
70 } | 69 } |
71 | 70 |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 } | 215 } |
217 } | 216 } |
218 | 217 |
219 float SVGPathSegList::calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase>
to, SVGElement*) | 218 float SVGPathSegList::calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase>
to, SVGElement*) |
220 { | 219 { |
221 // FIXME: Support paced animations. | 220 // FIXME: Support paced animations. |
222 return -1; | 221 return -1; |
223 } | 222 } |
224 | 223 |
225 } | 224 } |
OLD | NEW |