Style Change: NULL->nullptr
DOCS_PREVIEW= https://skia.org/?cl=1316233002
Review URL: https://codereview.chromium.org/1316233002
diff --git a/tools/skpdiff/SkCLImageDiffer.cpp b/tools/skpdiff/SkCLImageDiffer.cpp
index 1c5d5c5..f181682 100644
--- a/tools/skpdiff/SkCLImageDiffer.cpp
+++ b/tools/skpdiff/SkCLImageDiffer.cpp
@@ -60,15 +60,15 @@
bool SkCLImageDiffer::loadKernelSource(const char source[], const char name[], cl_kernel* kernel) {
// Build the kernel source
size_t sourceLen = strlen(source);
- cl_program program = clCreateProgramWithSource(fContext, 1, &source, &sourceLen, NULL);
- cl_int programErr = clBuildProgram(program, 1, &fDevice, "", NULL, NULL);
+ cl_program program = clCreateProgramWithSource(fContext, 1, &source, &sourceLen, nullptr);
+ cl_int programErr = clBuildProgram(program, 1, &fDevice, "", nullptr, nullptr);
if (CL_SUCCESS != programErr) {
SkDebugf("Program creation failed: %s\n", cl_error_to_string(programErr));
// Attempt to get information about why the build failed
char buildLog[4096];
clGetProgramBuildInfo(program, fDevice, CL_PROGRAM_BUILD_LOG, sizeof(buildLog),
- buildLog, NULL);
+ buildLog, nullptr);
SkDebugf("Build log: %s\n", buildLog);
return false;