aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/factory.cpp')
-rw-r--r--gm/factory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/factory.cpp b/gm/factory.cpp
index 608c049dc3..a9bf519c00 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(