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) |