Index: bench/SKPAnimationBench.cpp |
diff --git a/bench/SKPAnimationBench.cpp b/bench/SKPAnimationBench.cpp |
index f43dc80abdc6c8269db727889e77421e9dafa6ac..1a1ca447e506e2bbc63330426eb02d90907ed977 100644 |
--- a/bench/SKPAnimationBench.cpp |
+++ b/bench/SKPAnimationBench.cpp |
@@ -34,7 +34,7 @@ void SKPAnimationBench::drawPicture() { |
SkMatrix trans = SkMatrix::MakeTrans(-1.f * this->tileRects()[j].fLeft, |
-1.f * this->tileRects()[j].fTop); |
fAnimation->preConcatFrameMatrix(fAnimationTimer.fWall, fDevBounds, &trans); |
- this->surfaces()[j]->getCanvas()->drawPicture(this->picture(), &trans, NULL); |
+ this->surfaces()[j]->getCanvas()->drawPicture(this->picture(), &trans, nullptr); |
} |
for (int j = 0; j < this->tileRects().count(); ++j) { |