Index: samplecode/SampleLines.cpp |
diff --git a/samplecode/SampleLines.cpp b/samplecode/SampleLines.cpp |
index 0166bc029691ae44c8324fe45169e515d789e7a2..4570635689bf4abf0bc690491402aa2da1b0b9c0 100644 |
--- a/samplecode/SampleLines.cpp |
+++ b/samplecode/SampleLines.cpp |
@@ -65,7 +65,7 @@ protected: |
void onDrawContent(SkCanvas* canvas) override { |
SkBitmap bm; |
SkImageDecoder::DecodeFile("/kill.gif", &bm); |
- canvas->drawBitmap(bm, 0, 0, NULL); |
+ canvas->drawBitmap(bm, 0, 0, nullptr); |
this->drawRings(canvas); |
return; |
@@ -98,8 +98,8 @@ protected: |
SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned) override { |
fAlpha = SkScalarRoundToInt(y); |
- this->inval(NULL); |
- return NULL; |
+ this->inval(nullptr); |
+ return nullptr; |
} |
private: |