| Index: src/gpu/GrGpuFactory.cpp
|
| diff --git a/src/gpu/GrGpuFactory.cpp b/src/gpu/GrGpuFactory.cpp
|
| index 854e484747cb58ce9b5d3410d724d313da126047..f769ce4c578c187cb6ad94c436218a1470f58327 100644
|
| --- a/src/gpu/GrGpuFactory.cpp
|
| +++ b/src/gpu/GrGpuFactory.cpp
|
| @@ -13,7 +13,7 @@
|
| #include "gl/GrGLConfig.h"
|
| #include "gl/GrGLGpu.h"
|
|
|
| -static CreateGpuProc gGpuFactories[kBackendCount] = { GrGLGpu::Create, NULL };
|
| +static CreateGpuProc gGpuFactories[kBackendCount] = { GrGLGpu::Create, nullptr };
|
|
|
| #ifdef SK_VULKAN
|
| extern GrGpu* vk_gpu_create(GrBackendContext backendContext, const GrContextOptions& options,
|
| @@ -31,7 +31,7 @@ GrGpu* GrGpu::Create(GrBackend backend,
|
| GrContext* context) {
|
| SkASSERT((int)backend < kBackendCount);
|
| if (!gGpuFactories[backend]) {
|
| - return NULL;
|
| + return nullptr;
|
| }
|
| return (gGpuFactories[backend])(backendContext, options, context);
|
| }
|
|
|