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

Side by Side Diff: src/pathops/SkOpEdgeBuilder.h

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/pathops/SkOpContour.cpp ('k') | src/pathops/SkOpSegment.h » ('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 2012 Google Inc. 2 * Copyright 2012 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 #ifndef SkOpEdgeBuilder_DEFINED 7 #ifndef SkOpEdgeBuilder_DEFINED
8 #define SkOpEdgeBuilder_DEFINED 8 #define SkOpEdgeBuilder_DEFINED
9 9
10 #include "SkOpContour.h" 10 #include "SkOpContour.h"
(...skipping 19 matching lines...) Expand all
30 , fContoursHead(contours2) 30 , fContoursHead(contours2)
31 , fAllowOpenContours(false) { 31 , fAllowOpenContours(false) {
32 init(); 32 init();
33 } 33 }
34 34
35 void addOperand(const SkPath& path); 35 void addOperand(const SkPath& path);
36 36
37 void complete() { 37 void complete() {
38 if (fCurrentContour && fCurrentContour->count()) { 38 if (fCurrentContour && fCurrentContour->count()) {
39 fCurrentContour->complete(); 39 fCurrentContour->complete();
40 fCurrentContour = NULL; 40 fCurrentContour = nullptr;
41 } 41 }
42 } 42 }
43 43
44 int count() const; 44 int count() const;
45 bool finish(SkChunkAlloc* ); 45 bool finish(SkChunkAlloc* );
46 46
47 const SkOpContour* head() const { 47 const SkOpContour* head() const {
48 return fContoursHead; 48 return fContoursHead;
49 } 49 }
50 50
(...skipping 16 matching lines...) Expand all
67 SkOpContour* fCurrentContour; 67 SkOpContour* fCurrentContour;
68 SkOpContour* fContoursHead; 68 SkOpContour* fContoursHead;
69 SkPathOpsMask fXorMask[2]; 69 SkPathOpsMask fXorMask[2];
70 int fSecondHalf; 70 int fSecondHalf;
71 bool fOperand; 71 bool fOperand;
72 bool fAllowOpenContours; 72 bool fAllowOpenContours;
73 bool fUnparseable; 73 bool fUnparseable;
74 }; 74 };
75 75
76 #endif 76 #endif
OLDNEW
« no previous file with comments | « src/pathops/SkOpContour.cpp ('k') | src/pathops/SkOpSegment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698