Index: gm/factory.cpp |
diff --git a/gm/factory.cpp b/gm/factory.cpp |
index 608c049dc37be6e53a2e682710ac174ad596acc1..a9bf519c0003bca0c992f92ea778531b9d9fb166 100644 |
--- a/gm/factory.cpp |
+++ b/gm/factory.cpp |
@@ -32,7 +32,7 @@ protected: |
// Copyright-free file from http://openclipart.org/detail/29213/paper-plane-by-ddoo |
SkString pngFilename = GetResourcePath("plane.png"); |
SkAutoDataUnref data(SkData::NewFromFileName(pngFilename.c_str())); |
- if (NULL != data.get()) { |
+ if (data.get()) { |
// Create a cache which will boot the pixels out anytime the |
// bitmap is unlocked. |
SkAutoTUnref<SkDiscardableMemoryPool> pool( |