From 49f085dddff10473b6ebf832a974288300224e60 Mon Sep 17 00:00:00 2001 From: bsalomon Date: Fri, 5 Sep 2014 13:34:00 -0700 Subject: "NULL !=" = NULL R=reed@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/544233002 --- src/gpu/GrPictureUtils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gpu/GrPictureUtils.cpp') diff --git a/src/gpu/GrPictureUtils.cpp b/src/gpu/GrPictureUtils.cpp index 4b0f77f386..8810eb8a07 100644 --- a/src/gpu/GrPictureUtils.cpp +++ b/src/gpu/GrPictureUtils.cpp @@ -89,7 +89,7 @@ private: void updateClipBounds(const SkRecords::ClipRect& op) { fCurrentClipBounds = op.devBounds; } void updateClipBounds(const SkRecords::ClipRegion& op) { fCurrentClipBounds = op.devBounds; } void updateClipBounds(const SkRecords::SaveLayer& op) { - if (NULL != op.bounds) { + if (op.bounds) { fCurrentClipBounds.intersect(this->adjustAndMap(*op.bounds, op.paint)); } } @@ -264,7 +264,7 @@ const GrAccelData* GPUOptimize(const SkPicture* pict) { const GrAccelData* existing = static_cast(pict->EXPERIMENTAL_getAccelData(key)); - if (NULL != existing) { + if (existing) { return existing; } -- cgit v1.2.3