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

Side by Side Diff: src/animator/SkParseSVGPath.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/SkPaintPart.cpp ('k') | src/animator/SkPathParts.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 <ctype.h> 10 #include <ctype.h>
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 fPath.moveTo(c); 211 fPath.moveTo(c);
212 fPath.lineTo(f); 212 fPath.lineTo(f);
213 fPath.close(); 213 fPath.close();
214 } 214 }
215 #endif 215 #endif
216 c = f; 216 c = f;
217 op = '\0'; 217 op = '\0';
218 break; 218 break;
219 case '~': { 219 case '~': {
220 SkPoint args[2]; 220 SkPoint args[2];
221 data = find_points(data, args, 2, false, NULL); 221 data = find_points(data, args, 2, false, nullptr);
222 fPath.moveTo(args[0].fX, args[0].fY); 222 fPath.moveTo(args[0].fX, args[0].fY);
223 fPath.lineTo(args[1].fX, args[1].fY); 223 fPath.lineTo(args[1].fX, args[1].fY);
224 } 224 }
225 break; 225 break;
226 default: 226 default:
227 SkASSERT(0); 227 SkASSERT(0);
228 return; 228 return;
229 } 229 }
230 if (previousOp == 0) 230 if (previousOp == 0)
231 f = c; 231 f = c;
232 previousOp = op; 232 previousOp = op;
233 } while (data[0] > 0); 233 } while (data[0] > 0);
234 } 234 }
OLDNEW
« no previous file with comments | « src/animator/SkPaintPart.cpp ('k') | src/animator/SkPathParts.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698