aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleLighting.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samplecode/SampleLighting.cpp')
-rwxr-xr-xsamplecode/SampleLighting.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/samplecode/SampleLighting.cpp b/samplecode/SampleLighting.cpp
index 4838cf8183..566ed7f909 100755
--- a/samplecode/SampleLighting.cpp
+++ b/samplecode/SampleLighting.cpp
@@ -88,11 +88,11 @@ protected:
canvas->drawRect(r, paint);
// so we're constantly updating
- this->inval(NULL);
+ this->inval(nullptr);
}
SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned modi) override {
- this->inval(NULL);
+ this->inval(nullptr);
return this->INHERITED::onFindClickHandler(x, y, modi);
}