Index: src/utils/SkPictureUtils.cpp |
diff --git a/src/utils/SkPictureUtils.cpp b/src/utils/SkPictureUtils.cpp |
index a7ec7aea0ed634b037fa01acd4b0862467874b44..cda64052c35b51dada77d8a8ac9a8e07ee0bd8c5 100644 |
--- a/src/utils/SkPictureUtils.cpp |
+++ b/src/utils/SkPictureUtils.cpp |
@@ -54,7 +54,7 @@ public: |
GatherPixelRefDevice(int width, int height, PixelRefSet* prset) { |
fSize.set(width, height); |
- fEmptyBitmap.setConfig(SkBitmap::kNo_Config, width, height); |
+ fEmptyBitmap.setConfig(SkImageInfo::MakeUnknown(width, height)); |
fPRSet = prset; |
} |