Index: src/gpu/GrPictureUtils.cpp |
diff --git a/src/gpu/GrPictureUtils.cpp b/src/gpu/GrPictureUtils.cpp |
index 30a1d39a3c7b59ed4cc37d31d1180b13343b56aa..84a13be46629ef70ac482aafd4604dd0c5dc6de4 100644 |
--- a/src/gpu/GrPictureUtils.cpp |
+++ b/src/gpu/GrPictureUtils.cpp |
@@ -41,7 +41,10 @@ |
fInfo.fHasNestedLayers = false; |
fInfo.fIsNested = (2 == fSaveLayerDepth); |
- fEmptyBitmap.setInfo(SkImageInfo::MakeUnknown(fInfo.fSize.fWidth, fInfo.fSize.fHeight)); |
+ fEmptyBitmap.setConfig(SkImageInfo::Make(fInfo.fSize.fWidth, |
+ fInfo.fSize.fHeight, |
+ kUnknown_SkColorType, |
+ kIgnore_SkAlphaType)); |
fAccelData = accelData; |
fAlreadyDrawn = false; |
} |