Index: samplecode/SampleIdentityScale.cpp |
diff --git a/samplecode/SampleIdentityScale.cpp b/samplecode/SampleIdentityScale.cpp |
index 7a329dedd08c51c0896ce2933f1ad2a3b9762890..5a4e39d36b5b66ce68d99672f76d74c27e7505b6 100644 |
--- a/samplecode/SampleIdentityScale.cpp |
+++ b/samplecode/SampleIdentityScale.cpp |
@@ -25,7 +25,7 @@ class IdentityScaleView : public SampleView { |
public: |
IdentityScaleView(const char imageFilename[]) { |
SkString resourcePath = GetResourcePath(imageFilename); |
- SkImageDecoder* codec = NULL; |
+ SkImageDecoder* codec = nullptr; |
SkFILEStream stream(resourcePath.c_str()); |
if (stream.isValid()) { |
codec = SkImageDecoder::Factory(&stream); |
@@ -80,7 +80,7 @@ protected: |
canvas->drawBitmap( fBM, 100, 100, &paint ); |
canvas->restore(); |
canvas->drawText( text, strlen(text), 100, 400, paint ); |
- this->inval(NULL); |
+ this->inval(nullptr); |
} |
private: |