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

Unified Diff: src/views/SkTagList.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, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/views/SkTagList.h ('k') | src/views/SkView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/views/SkTagList.cpp
diff --git a/src/views/SkTagList.cpp b/src/views/SkTagList.cpp
index 8ede870febc8f6fd87665d9e9409d0ec55267688..b1d6ff64d3ff2016612d71f4d3f5cd40787a974c 100644
--- a/src/views/SkTagList.cpp
+++ b/src/views/SkTagList.cpp
@@ -17,7 +17,7 @@ SkTagList* SkTagList::Find(SkTagList* rec, U8CPU tag)
{
SkASSERT(tag < kSkTagListCount);
- while (rec != NULL)
+ while (rec != nullptr)
{
if (rec->fTag == tag)
break;
@@ -31,9 +31,9 @@ void SkTagList::DeleteTag(SkTagList** head, U8CPU tag)
SkASSERT(tag < kSkTagListCount);
SkTagList* rec = *head;
- SkTagList* prev = NULL;
+ SkTagList* prev = nullptr;
- while (rec != NULL)
+ while (rec != nullptr)
{
SkTagList* next = rec->fNext;
« no previous file with comments | « src/views/SkTagList.h ('k') | src/views/SkView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698