diff options
author | halcanary <halcanary@google.com> | 2015-08-27 07:41:13 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-27 07:41:16 -0700 |
commit | 96fcdcc219d2a0d3579719b84b28bede76efba64 (patch) | |
tree | 0ec5ea0193d8292df8bf5ed9dd8498a5eb5763dd /samplecode/SampleIdentityScale.cpp | |
parent | 435af2f736c85c3274a0c6760a3523810750d237 (diff) |
Style Change: NULL->nullptr
DOCS_PREVIEW= https://skia.org/?cl=1316233002
Review URL: https://codereview.chromium.org/1316233002
Diffstat (limited to 'samplecode/SampleIdentityScale.cpp')
-rw-r--r-- | samplecode/SampleIdentityScale.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samplecode/SampleIdentityScale.cpp b/samplecode/SampleIdentityScale.cpp index 7a329dedd0..5a4e39d36b 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: |