aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleDash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samplecode/SampleDash.cpp')
-rw-r--r--samplecode/SampleDash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SampleDash.cpp b/samplecode/SampleDash.cpp
index e4fa79d47e..a01c079c70 100644
--- a/samplecode/SampleDash.cpp
+++ b/samplecode/SampleDash.cpp
@@ -73,7 +73,7 @@ protected:
SkDashPathEffect dash(interval, len, 0);
paint.setPathEffect(&dash);
canvas->drawLine(x0, y0, x1, y0, paint);
- paint.setPathEffect(NULL);
+ paint.setPathEffect(nullptr);
y0 += paint.getStrokeWidth() * 3;
}