aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/DashBench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/DashBench.cpp')
-rw-r--r--bench/DashBench.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/DashBench.cpp b/bench/DashBench.cpp
index e54d038768..2653cdc992 100644
--- a/bench/DashBench.cpp
+++ b/bench/DashBench.cpp
@@ -119,7 +119,7 @@ protected:
SkPaint p(paint);
p.setStyle(SkPaint::kFill_Style);
- p.setPathEffect(NULL);
+ p.setPathEffect(nullptr);
int count = SkScalarRoundToInt((pts[1].fX - pts[0].fX) / (2*fWidth));
SkScalar dx = SkIntToScalar(2 * fWidth);
@@ -198,7 +198,7 @@ protected:
for (int i = 0; i < loops; ++i) {
SkStrokeRec rec(SkStrokeRec::kHairline_InitStyle);
- fPE->filterPath(&dst, fPath, &rec, NULL);
+ fPE->filterPath(&dst, fPath, &rec, nullptr);
dst.rewind();
}
}