Index: gm/bleed.cpp |
diff --git a/gm/bleed.cpp b/gm/bleed.cpp |
index 99dba70d5255e07b1d6e3c56eba1128329f64917..aa2b0df8c4c5fef97a30efe534bd4791d6db1905 100644 |
--- a/gm/bleed.cpp |
+++ b/gm/bleed.cpp |
@@ -212,7 +212,7 @@ protected: |
#if SK_SUPPORT_GPU |
GrContext* ctx = canvas->getGrContext(); |
int oldMaxTextureSize = 0; |
- if (NULL != ctx) { |
+ if (ctx) { |
// shrink the max texture size so all our textures can be reasonably sized |
oldMaxTextureSize = ctx->getMaxTextureSize(); |
ctx->setMaxTextureSizeOverride(kMaxTextureSize); |
@@ -244,7 +244,7 @@ protected: |
this->drawCase4(canvas, kCol6X, kRow3Y, SkCanvas::kBleed_DrawBitmapRectFlag, SkPaint::kHigh_FilterLevel); |
#if SK_SUPPORT_GPU |
- if (NULL != ctx) { |
+ if (ctx) { |
ctx->setMaxTextureSizeOverride(oldMaxTextureSize); |
} |
#endif |