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/views/SkTagList.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/views/SkStackViewLayout.cpp ('k') | src/views/SkTagList.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 #ifndef SkTagList_DEFINED 10 #ifndef SkTagList_DEFINED
(...skipping 11 matching lines...) Expand all
22 22
23 struct SkTagList { 23 struct SkTagList {
24 SkTagList* fNext; 24 SkTagList* fNext;
25 uint16_t fExtra16; 25 uint16_t fExtra16;
26 uint8_t fExtra8; 26 uint8_t fExtra8;
27 uint8_t fTag; 27 uint8_t fTag;
28 28
29 SkTagList(U8CPU tag) : fTag(SkToU8(tag)) 29 SkTagList(U8CPU tag) : fTag(SkToU8(tag))
30 { 30 {
31 SkASSERT(tag < kSkTagListCount); 31 SkASSERT(tag < kSkTagListCount);
32 fNext = NULL; 32 fNext = nullptr;
33 fExtra16 = 0; 33 fExtra16 = 0;
34 fExtra8 = 0; 34 fExtra8 = 0;
35 } 35 }
36 virtual ~SkTagList(); 36 virtual ~SkTagList();
37 37
38 static SkTagList* Find(SkTagList* head, U8CPU tag); 38 static SkTagList* Find(SkTagList* head, U8CPU tag);
39 static void DeleteTag(SkTagList** headptr, U8CPU tag); 39 static void DeleteTag(SkTagList** headptr, U8CPU tag);
40 static void DeleteAll(SkTagList* head); 40 static void DeleteAll(SkTagList* head);
41 }; 41 };
42 42
43 #endif 43 #endif
OLDNEW
« no previous file with comments | « src/views/SkStackViewLayout.cpp ('k') | src/views/SkTagList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698