Index: gm/xfermodes3.cpp |
diff --git a/gm/xfermodes3.cpp b/gm/xfermodes3.cpp |
index e3e1629298122c9d9bd6e954ec00408abdacdbe9..74ca643b23a5bb71a80b857720db61c59a80e1ec 100644 |
--- a/gm/xfermodes3.cpp |
+++ b/gm/xfermodes3.cpp |
@@ -125,7 +125,7 @@ private: |
SkCanvas* tempCanvas = NULL; |
#if SK_SUPPORT_GPU |
GrContext* context = baseCanvas->getGrContext(); |
- if (NULL != context) { |
+ if (context) { |
GrTextureDesc desc; |
desc.fWidth = w; |
desc.fHeight = h; |
@@ -133,7 +133,7 @@ private: |
desc.fFlags = kRenderTarget_GrTextureFlagBit; |
SkAutoTUnref<GrSurface> surface(context->createUncachedTexture(desc, NULL, 0)); |
SkAutoTUnref<SkBaseDevice> device(SkGpuDevice::Create(surface.get())); |
- if (NULL != device.get()) { |
+ if (device.get()) { |
tempCanvas = SkNEW_ARGS(SkCanvas, (device.get())); |
} |
} |