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

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

Issue 170603003: Use nullptr_t for RefPtr, PassRefPtr and RawPtr. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final rebase Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/svg/SVGTextContentElement.cpp ('k') | Source/core/svg/SVGTransformList.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 PassRefPtr<SVGTransform> SVGTransform::clone() const 68 PassRefPtr<SVGTransform> SVGTransform::clone() const
69 { 69 {
70 return adoptRef(new SVGTransform(m_transformType, m_angle, m_center, m_matri x)); 70 return adoptRef(new SVGTransform(m_transformType, m_angle, m_center, m_matri x));
71 } 71 }
72 72
73 PassRefPtr<NewSVGPropertyBase> SVGTransform::cloneForAnimation(const String&) co nst 73 PassRefPtr<NewSVGPropertyBase> SVGTransform::cloneForAnimation(const String&) co nst
74 { 74 {
75 // SVGTransform is never animated. 75 // SVGTransform is never animated.
76 ASSERT_NOT_REACHED(); 76 ASSERT_NOT_REACHED();
77 return 0; 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;
84 } 84 }
85 85
86 void SVGTransform::onMatrixChange() 86 void SVGTransform::onMatrixChange()
87 { 87 {
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 238
239 float SVGTransform::calculateDistance(PassRefPtr<NewSVGPropertyBase>, SVGElement *) 239 float SVGTransform::calculateDistance(PassRefPtr<NewSVGPropertyBase>, SVGElement *)
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 WebCore 247 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/svg/SVGTextContentElement.cpp ('k') | Source/core/svg/SVGTransformList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698