Index: samplecode/SampleText.cpp |
diff --git a/samplecode/SampleText.cpp b/samplecode/SampleText.cpp |
index aae42c169497a3b6ec672e217df1e0f825fe8b4f..f5f8dbefa0b6ef7e35ab167ab3941a1bd4137313 100644 |
--- a/samplecode/SampleText.cpp |
+++ b/samplecode/SampleText.cpp |
@@ -148,7 +148,7 @@ protected: |
{ |
SkRect r; |
r.set(0, 0, SkIntToScalar(1000), SkIntToScalar(20)); |
- // canvas->saveLayer(&r, NULL, SkCanvas::kHasAlphaLayer_SaveFlag); |
+ // canvas->saveLayer(&r, nullptr, SkCanvas::kHasAlphaLayer_SaveFlag); |
} |
SkPaint paint; |
@@ -188,7 +188,7 @@ protected: |
virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, |
unsigned modi) override { |
fClickX = x; |
- this->inval(NULL); |
+ this->inval(nullptr); |
return this->INHERITED::onFindClickHandler(x, y, modi); |
} |