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

Unified Diff: src/animator/SkDisplayList.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/animator/SkDisplayInput.cpp ('k') | src/animator/SkDisplayMath.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/animator/SkDisplayList.cpp
diff --git a/src/animator/SkDisplayList.cpp b/src/animator/SkDisplayList.cpp
index f5f2c7fbaef14938f176774488d2f1156ab61690..fbba83f4f0510ef9b80b083d90666a5530a4c542 100644
--- a/src/animator/SkDisplayList.cpp
+++ b/src/animator/SkDisplayList.cpp
@@ -52,7 +52,7 @@ bool SkDisplayList::draw(SkAnimateMaker& maker, SkMSec inTime) {
int SkDisplayList::findGroup(SkADrawable* match, SkTDDrawableArray** list,
SkGroup** parent, SkGroup** found, SkTDDrawableArray**grandList) {
- *parent = NULL;
+ *parent = nullptr;
*list = &fDrawList;
*grandList = &fDrawList;
return SearchForMatch(match, list, parent, found, grandList);
@@ -70,7 +70,7 @@ bool SkDisplayList::onIRect(const SkIRect& r) {
int SkDisplayList::SearchForMatch(SkADrawable* match, SkTDDrawableArray** list,
SkGroup** parent, SkGroup** found, SkTDDrawableArray**grandList) {
- *found = NULL;
+ *found = nullptr;
for (int index = 0; index < (*list)->count(); index++) {
SkADrawable* draw = (**list)[index];
if (draw == match)
« no previous file with comments | « src/animator/SkDisplayInput.cpp ('k') | src/animator/SkDisplayMath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698