Index: src/core/SkMaskGamma.h |
diff --git a/src/core/SkMaskGamma.h b/src/core/SkMaskGamma.h |
index 08ed97f913f210f13ca5110065cdec04497bf86c..fb67c1abc038d1007bc99ea7543b695d657054ab 100644 |
--- a/src/core/SkMaskGamma.h |
+++ b/src/core/SkMaskGamma.h |
@@ -194,9 +194,7 @@ public: |
~SkTMaskPreBlend() { } |
/** True if this PreBlend should be applied. When false, fR, fG, and fB are NULL. */ |
- bool isApplicable() const { |
- return NULL != this->fG; |
- } |
+ bool isApplicable() const { return SkToBool(this->fG); } |
const uint8_t* fR; |
const uint8_t* fG; |