Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGTransform.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 , m_angle(angle) 57 , m_angle(angle)
58 , m_center(center) 58 , m_center(center)
59 , m_matrix(matrix) 59 , m_matrix(matrix)
60 { 60 {
61 } 61 }
62 62
63 SVGTransform::~SVGTransform() 63 SVGTransform::~SVGTransform()
64 { 64 {
65 } 65 }
66 66
67 PassRefPtrWillBeRawPtr<SVGTransform> SVGTransform::clone() const 67 RawPtr<SVGTransform> SVGTransform::clone() const
68 { 68 {
69 return adoptRefWillBeNoop(new SVGTransform(m_transformType, m_angle, m_cente r, m_matrix)); 69 return new SVGTransform(m_transformType, m_angle, m_center, m_matrix);
70 } 70 }
71 71
72 PassRefPtrWillBeRawPtr<SVGPropertyBase> SVGTransform::cloneForAnimation(const St ring&) const 72 RawPtr<SVGPropertyBase> SVGTransform::cloneForAnimation(const String&) const
73 { 73 {
74 // SVGTransform is never animated. 74 // SVGTransform is never animated.
75 ASSERT_NOT_REACHED(); 75 ASSERT_NOT_REACHED();
76 return nullptr; 76 return nullptr;
77 } 77 }
78 78
79 void SVGTransform::setMatrix(const AffineTransform& matrix) 79 void SVGTransform::setMatrix(const AffineTransform& matrix)
80 { 80 {
81 onMatrixChange(); 81 onMatrixChange();
82 m_matrix = matrix; 82 m_matrix = matrix;
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 228
229 for (size_t i = 0; i < argumentCount; ++i) { 229 for (size_t i = 0; i < argumentCount; ++i) {
230 if (i) 230 if (i)
231 builder.append(' '); 231 builder.append(' ');
232 builder.appendNumber(arguments[i]); 232 builder.appendNumber(arguments[i]);
233 } 233 }
234 builder.append(')'); 234 builder.append(')');
235 return builder.toString(); 235 return builder.toString();
236 } 236 }
237 237
238 void SVGTransform::add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) 238 void SVGTransform::add(RawPtr<SVGPropertyBase>, SVGElement*)
239 { 239 {
240 // SVGTransform is not animated by itself. 240 // SVGTransform is not animated by itself.
241 ASSERT_NOT_REACHED(); 241 ASSERT_NOT_REACHED();
242 } 242 }
243 243
244 void SVGTransform::calculateAnimatedValue(SVGAnimationElement*, float, unsigned, PassRefPtrWillBeRawPtr<SVGPropertyBase>, PassRefPtrWillBeRawPtr<SVGPropertyBase >, PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) 244 void SVGTransform::calculateAnimatedValue(SVGAnimationElement*, float, unsigned, RawPtr<SVGPropertyBase>, RawPtr<SVGPropertyBase>, RawPtr<SVGPropertyBase>, SVGE lement*)
245 { 245 {
246 // SVGTransform is not animated by itself. 246 // SVGTransform is not animated by itself.
247 ASSERT_NOT_REACHED(); 247 ASSERT_NOT_REACHED();
248 } 248 }
249 249
250 float SVGTransform::calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase>, S VGElement*) 250 float SVGTransform::calculateDistance(RawPtr<SVGPropertyBase>, SVGElement*)
251 { 251 {
252 // SVGTransform is not animated by itself. 252 // SVGTransform is not animated by itself.
253 ASSERT_NOT_REACHED(); 253 ASSERT_NOT_REACHED();
254 254
255 return -1; 255 return -1;
256 } 256 }
257 257
258 } // namespace blink 258 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGTransform.h ('k') | third_party/WebKit/Source/core/svg/SVGTransform.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698