Fix NULL as SkColor warning on clang.
authorbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 3 Apr 2012 13:25:12 +0000 (13:25 +0000)
committerbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 3 Apr 2012 13:25:12 +0000 (13:25 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@3582 2bbb7eff-a529-9590-31e7-b0007b416f81

src/gpu/SkGpuDevice.cpp

index 9e4a7b6..9113fba 100644 (file)
@@ -65,7 +65,7 @@ enum {
 #define DO_DEFERRED_CLEAR       \
     do {                        \
         if (fNeedClear) {       \
-            this->clear(NULL);  \
+            this->clear(0x0);   \
             fNeedClear = false; \
         }                       \
     } while (false)             \