Index: src/gpu/GrRenderTarget.cpp |
diff --git a/src/gpu/GrRenderTarget.cpp b/src/gpu/GrRenderTarget.cpp |
index 505cc78dceb9becbd8cae4797f45b644bfa80b61..b9763325d89b6363e67dfcc486099ea64fd98121 100644 |
--- a/src/gpu/GrRenderTarget.cpp |
+++ b/src/gpu/GrRenderTarget.cpp |
@@ -79,7 +79,7 @@ size_t GrRenderTarget::gpuMemorySize() const { |
void GrRenderTarget::flagAsNeedingResolve(const SkIRect* rect) { |
if (kCanResolve_ResolveType == getResolveType()) { |
- if (NULL != rect) { |
+ if (rect) { |
fResolveRect.join(*rect); |
if (!fResolveRect.intersect(0, 0, this->width(), this->height())) { |
fResolveRect.setEmpty(); |