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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 , m_byteStream(byteStream) | 49 , m_byteStream(byteStream) |
50 , m_listSyncedToByteStream(true) | 50 , m_listSyncedToByteStream(true) |
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 void SVGPathSegList::trace(Visitor* visitor) | 59 DEFINE_TRACE(SVGPathSegList) |
60 { | 60 { |
61 visitor->trace(m_contextElement); | 61 visitor->trace(m_contextElement); |
62 SVGListPropertyHelper<SVGPathSegList, SVGPathSeg>::trace(visitor); | 62 SVGListPropertyHelper<SVGPathSegList, SVGPathSeg>::trace(visitor); |
63 } | 63 } |
64 | 64 |
65 PassRefPtrWillBeRawPtr<SVGPathSegList> SVGPathSegList::clone() | 65 PassRefPtrWillBeRawPtr<SVGPathSegList> SVGPathSegList::clone() |
66 { | 66 { |
67 RefPtrWillBeRawPtr<SVGPathSegList> svgPathSegList = adoptRefWillBeNoop(new S
VGPathSegList(m_contextElement, byteStream()->copy())); | 67 RefPtrWillBeRawPtr<SVGPathSegList> svgPathSegList = adoptRefWillBeNoop(new S
VGPathSegList(m_contextElement, byteStream()->copy())); |
68 svgPathSegList->invalidateList(); | 68 svgPathSegList->invalidateList(); |
69 return svgPathSegList.release(); | 69 return svgPathSegList.release(); |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 } | 216 } |
217 } | 217 } |
218 | 218 |
219 float SVGPathSegList::calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase>
to, SVGElement*) | 219 float SVGPathSegList::calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase>
to, SVGElement*) |
220 { | 220 { |
221 // FIXME: Support paced animations. | 221 // FIXME: Support paced animations. |
222 return -1; | 222 return -1; |
223 } | 223 } |
224 | 224 |
225 } | 225 } |
OLD | NEW |