OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005 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 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 , m_angle(angle) | 58 , m_angle(angle) |
59 , m_center(center) | 59 , m_center(center) |
60 , m_matrix(matrix) | 60 , m_matrix(matrix) |
61 { | 61 { |
62 } | 62 } |
63 | 63 |
64 SVGTransform::~SVGTransform() | 64 SVGTransform::~SVGTransform() |
65 { | 65 { |
66 } | 66 } |
67 | 67 |
68 PassRefPtr<SVGTransform> SVGTransform::clone() const | 68 PassRefPtrWillBeRawPtr<SVGTransform> SVGTransform::clone() const |
69 { | 69 { |
70 return adoptRef(new SVGTransform(m_transformType, m_angle, m_center, m_matri
x)); | 70 return adoptRefWillBeNoop(new SVGTransform(m_transformType, m_angle, m_cente
r, m_matrix)); |
71 } | 71 } |
72 | 72 |
73 PassRefPtr<SVGPropertyBase> SVGTransform::cloneForAnimation(const String&) const | 73 PassRefPtrWillBeRawPtr<SVGPropertyBase> SVGTransform::cloneForAnimation(const St
ring&) const |
74 { | 74 { |
75 // SVGTransform is never animated. | 75 // SVGTransform is never animated. |
76 ASSERT_NOT_REACHED(); | 76 ASSERT_NOT_REACHED(); |
77 return nullptr; | 77 return nullptr; |
78 } | 78 } |
79 | 79 |
80 void SVGTransform::setMatrix(const AffineTransform& matrix) | 80 void SVGTransform::setMatrix(const AffineTransform& matrix) |
81 { | 81 { |
82 onMatrixChange(); | 82 onMatrixChange(); |
83 m_matrix = matrix; | 83 m_matrix = matrix; |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 ASSERT_NOT_REACHED(); | 223 ASSERT_NOT_REACHED(); |
224 return emptyString(); | 224 return emptyString(); |
225 } | 225 } |
226 | 226 |
227 void SVGTransform::add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) | 227 void SVGTransform::add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) |
228 { | 228 { |
229 // SVGTransform is not animated by itself. | 229 // SVGTransform is not animated by itself. |
230 ASSERT_NOT_REACHED(); | 230 ASSERT_NOT_REACHED(); |
231 } | 231 } |
232 | 232 |
233 void SVGTransform::calculateAnimatedValue(SVGAnimationElement*, float, unsigned,
PassRefPtr<SVGPropertyBase>, PassRefPtr<SVGPropertyBase>, PassRefPtr<SVGPropert
yBase>, SVGElement*) | 233 void SVGTransform::calculateAnimatedValue(SVGAnimationElement*, float, unsigned,
PassRefPtrWillBeRawPtr<SVGPropertyBase>, PassRefPtrWillBeRawPtr<SVGPropertyBase
>, PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) |
234 { | 234 { |
235 // SVGTransform is not animated by itself. | 235 // SVGTransform is not animated by itself. |
236 ASSERT_NOT_REACHED(); | 236 ASSERT_NOT_REACHED(); |
237 } | 237 } |
238 | 238 |
239 float SVGTransform::calculateDistance(PassRefPtr<SVGPropertyBase>, SVGElement*) | 239 float SVGTransform::calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase>, S
VGElement*) |
240 { | 240 { |
241 // SVGTransform is not animated by itself. | 241 // SVGTransform is not animated by itself. |
242 ASSERT_NOT_REACHED(); | 242 ASSERT_NOT_REACHED(); |
243 | 243 |
244 return -1; | 244 return -1; |
245 } | 245 } |
246 | 246 |
247 } // namespace blink | 247 } // namespace blink |
OLD | NEW |