aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrGpuFactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrGpuFactory.cpp')
-rw-r--r--src/gpu/GrGpuFactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrGpuFactory.cpp b/src/gpu/GrGpuFactory.cpp
index 854e484747..f769ce4c57 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);
}