Index: src/utils/SkGatherPixelRefsAndRects.h |
diff --git a/src/utils/SkGatherPixelRefsAndRects.h b/src/utils/SkGatherPixelRefsAndRects.h |
index 4e52ba07c80c1663438af54f64541ee1868df139..894b8f0fde85df16420a2e8047c00bb843eba5c5 100644 |
--- a/src/utils/SkGatherPixelRefsAndRects.h |
+++ b/src/utils/SkGatherPixelRefsAndRects.h |
@@ -28,7 +28,9 @@ |
fSize.set(width, height); |
fPRCont = prCont; |
SkSafeRef(fPRCont); |
- fEmptyBitmap.setInfo(SkImageInfo::MakeUnknown(width, height)); |
+ fEmptyBitmap.setConfig(SkImageInfo::Make(width, height, |
+ kUnknown_SkColorType, |
+ kIgnore_SkAlphaType)); |
} |
virtual ~SkGatherPixelRefsAndRectsDevice() { |