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