Index: src/ports/SkFontHost_mac.cpp |
diff --git a/src/ports/SkFontHost_mac.cpp b/src/ports/SkFontHost_mac.cpp |
index 72a32742dc557b12fe583e026fd55512d06f8794..3c73493b41479745c2bb4ede10b8bb9e39be9300 100755 |
--- a/src/ports/SkFontHost_mac.cpp |
+++ b/src/ports/SkFontHost_mac.cpp |
@@ -897,7 +897,7 @@ uint16_t SkScalerContext_Mac::getFBoundingBoxesGlyphOffset() { |
bool SkScalerContext_Mac::generateBBoxes() { |
if (fGeneratedFBoundingBoxes) { |
- return NULL != fFBoundingBoxes.get(); |
+ return SkToBool(fFBoundingBoxes.get()); |
} |
fGeneratedFBoundingBoxes = true; |