Index: samplecode/SampleTextAlpha.cpp |
diff --git a/samplecode/SampleTextAlpha.cpp b/samplecode/SampleTextAlpha.cpp |
index f3440213efb9f98a0d261441436ba59a6d2f0893..d8fd1044d640c73991197644660f2071d5bafaf2 100644 |
--- a/samplecode/SampleTextAlpha.cpp |
+++ b/samplecode/SampleTextAlpha.cpp |
@@ -65,7 +65,7 @@ protected: |
paint.setTextSize(SkIntToScalar(ps)); |
paint.setTextSize(SkIntToScalar(24)); |
canvas->drawText(str, strlen(str), x, y, paint); |
- y += paint.getFontMetrics(NULL); |
+ y += paint.getFontMetrics(nullptr); |
} |
} |
@@ -81,7 +81,7 @@ protected: |
y = 255; |
} |
fByte = y; |
- this->inval(NULL); |
+ this->inval(nullptr); |
return true; |
} |