Style Change: NULL->nullptr
DOCS_PREVIEW= https://skia.org/?cl=1316233002

Review URL: https://codereview.chromium.org/1316233002
diff --git a/tests/WritePixelsTest.cpp b/tests/WritePixelsTest.cpp
index a06130e..c4010b7 100644
--- a/tests/WritePixelsTest.cpp
+++ b/tests/WritePixelsTest.cpp
@@ -200,7 +200,7 @@
     canvasRowBytes = secretDevBitmap.rowBytes();
     canvasPixels = static_cast<const uint32_t*>(secretDevBitmap.getPixels());
 
-    if (NULL == canvasPixels) {
+    if (nullptr == canvasPixels) {
         return false;
     }
 
@@ -286,7 +286,7 @@
     if (!bm->setInfo(info, rowBytes)) {
         return false;
     }
-    SkPixelRef* pr = SkMallocPixelRef::NewAllocate(info, rowBytes, NULL);
+    SkPixelRef* pr = SkMallocPixelRef::NewAllocate(info, rowBytes, nullptr);
     bm->setPixelRef(pr)->unref();
     return true;
 }
@@ -306,7 +306,7 @@
             if (!c.fTightRowBytes) {
                 memset(pixels, DEV_PAD, size);
             }
-            return SkSurface::NewRasterDirectReleaseProc(info, pixels, rowBytes, free_pixels, NULL);
+            return SkSurface::NewRasterDirectReleaseProc(info, pixels, rowBytes, free_pixels, nullptr);
         }
 #if SK_SUPPORT_GPU
         case kGpu_BottomLeft_DevType:
@@ -322,7 +322,7 @@
             return SkSurface::NewRenderTargetDirect(texture->asRenderTarget());
 #endif
     }
-    return NULL;
+    return nullptr;
 }
 
 static bool setup_bitmap(SkBitmap* bm, SkColorType ct, SkAlphaType at, int w, int h, int tightRB) {
@@ -417,7 +417,7 @@
         }
 #endif
         for (int glCtxType = 0; glCtxType < glCtxTypeCnt; ++glCtxType) {
-            GrContext* context = NULL;
+            GrContext* context = nullptr;
 #if SK_SUPPORT_GPU
             if (isGPUDevice) {
                 GrContextFactory::GLContextType type =
@@ -426,7 +426,7 @@
                     continue;
                 }
                 context = factory->get(type);
-                if (NULL == context) {
+                if (nullptr == context) {
                     continue;
                 }
             }