aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrGpuResource.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/GrGpuResource.h')
-rw-r--r--include/gpu/GrGpuResource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gpu/GrGpuResource.h b/include/gpu/GrGpuResource.h
index 677460ee40..6d28c1231d 100644
--- a/include/gpu/GrGpuResource.h
+++ b/include/gpu/GrGpuResource.h
@@ -154,7 +154,7 @@ public:
* @return true if the object has been released or abandoned,
* false otherwise.
*/
- bool wasDestroyed() const { return NULL == fGpu; }
+ bool wasDestroyed() const { return nullptr == fGpu; }
/**
* Retrieves the context that owns the object. Note that it is possible for