Index: samplecode/SamplePdfFileViewer.cpp |
diff --git a/samplecode/SamplePdfFileViewer.cpp b/samplecode/SamplePdfFileViewer.cpp |
index 747f729d3e0c6eb7b9b4c113490277e505d9a705..950d42b3fdf3905610530910b9a02f4bf847e105 100644 |
--- a/samplecode/SamplePdfFileViewer.cpp |
+++ b/samplecode/SamplePdfFileViewer.cpp |
@@ -38,8 +38,8 @@ private: |
static SkPicture* LoadPdf(const char path[]) { |
SkAutoTDelete<SkPdfRenderer> renderer(SkPdfRenderer::CreateFromFile(path)); |
- if (NULL == renderer.get()) { |
- return NULL; |
+ if (nullptr == renderer.get()) { |
+ return nullptr; |
} |
SkPicture* pic = new SkPicture; |
@@ -51,8 +51,8 @@ private: |
} |
public: |
- PdfFileViewer(const char name[] = NULL) : fFilename(name) { |
- fPicture = NULL; |
+ PdfFileViewer(const char name[] = nullptr) : fFilename(name) { |
+ fPicture = nullptr; |
} |
virtual ~PdfFileViewer() { |