Index: include/core/SkMask.h |
diff --git a/include/core/SkMask.h b/include/core/SkMask.h |
index 7be6aff614ce7bdeb3686350f047dde6cbd9e532..a6d56064787c0083db4aaf4cd14acd9d87ab4526 100644 |
--- a/include/core/SkMask.h |
+++ b/include/core/SkMask.h |
@@ -17,6 +17,8 @@ |
the 3-channel 3D format. These are passed to SkMaskFilter objects. |
*/ |
struct SkMask { |
+ SkMask() : fImage(nullptr) {} |
+ |
enum Format { |
kBW_Format, //!< 1bit per pixel mask (e.g. monochrome) |
kA8_Format, //!< 8bits per pixel mask (e.g. antialiasing) |