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

Side by Side Diff: src/animator/SkDrawPath.cpp

Issue 1316233002: Style Change: NULL->nullptr (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-27 (Thursday) 10:25:06 EDT Created 5 years, 3 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
« no previous file with comments | « src/animator/SkDrawPaint.cpp ('k') | src/animator/SkDrawRectangle.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 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #include "SkDrawPath.h" 10 #include "SkDrawPath.h"
(...skipping 16 matching lines...) Expand all
27 SK_MEMBER_PROPERTY(fillType, FillType), 27 SK_MEMBER_PROPERTY(fillType, FillType),
28 SK_MEMBER_PROPERTY(length, Float) 28 SK_MEMBER_PROPERTY(length, Float)
29 }; 29 };
30 30
31 #endif 31 #endif
32 32
33 DEFINE_GET_MEMBER(SkDrawPath); 33 DEFINE_GET_MEMBER(SkDrawPath);
34 34
35 SkDrawPath::SkDrawPath() 35 SkDrawPath::SkDrawPath()
36 { 36 {
37 fParent = NULL; 37 fParent = nullptr;
38 fLength = SK_ScalarNaN; 38 fLength = SK_ScalarNaN;
39 fChildHasID = false; 39 fChildHasID = false;
40 fDirty = false; 40 fDirty = false;
41 } 41 }
42 42
43 SkDrawPath::~SkDrawPath() { 43 SkDrawPath::~SkDrawPath() {
44 for (SkPathPart** part = fParts.begin(); part < fParts.end(); part++) 44 for (SkPathPart** part = fParts.begin(); part < fParts.end(); part++)
45 delete *part; 45 delete *part;
46 } 46 }
47 47
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 }; 211 };
212 212
213 #endif 213 #endif
214 214
215 DEFINE_GET_MEMBER(SkPolygon); 215 DEFINE_GET_MEMBER(SkPolygon);
216 216
217 void SkPolygon::onEndElement(SkAnimateMaker& maker) { 217 void SkPolygon::onEndElement(SkAnimateMaker& maker) {
218 INHERITED::onEndElement(maker); 218 INHERITED::onEndElement(maker);
219 fPath.close(); 219 fPath.close();
220 } 220 }
OLDNEW
« no previous file with comments | « src/animator/SkDrawPaint.cpp ('k') | src/animator/SkDrawRectangle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698