Style Change: NULL->nullptr
DOCS_PREVIEW= https://skia.org/?cl=1316233002
Review URL: https://codereview.chromium.org/1316233002
diff --git a/samplecode/SamplePdfFileViewer.cpp b/samplecode/SamplePdfFileViewer.cpp
index 747f729..950d42b 100644
--- a/samplecode/SamplePdfFileViewer.cpp
+++ b/samplecode/SamplePdfFileViewer.cpp
@@ -38,8 +38,8 @@
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 @@
}
public:
- PdfFileViewer(const char name[] = NULL) : fFilename(name) {
- fPicture = NULL;
+ PdfFileViewer(const char name[] = nullptr) : fFilename(name) {
+ fPicture = nullptr;
}
virtual ~PdfFileViewer() {