Index: src/core/SkMatrixImageFilter.cpp |
diff --git a/src/core/SkMatrixImageFilter.cpp b/src/core/SkMatrixImageFilter.cpp |
index 12efc64683b184741c1829aaeff0488e1b332928..2e827d82a660bd16f2ce79a1291222955085d802 100644 |
--- a/src/core/SkMatrixImageFilter.cpp |
+++ b/src/core/SkMatrixImageFilter.cpp |
@@ -70,7 +70,9 @@ |
SkIRect dstBounds; |
dstRect.roundOut(&dstBounds); |
- sk_sp<SkSpecialSurface> surf(input->makeSurface(ctx.outputProperties(), dstBounds.size())); |
+ const SkImageInfo info = SkImageInfo::MakeN32Premul(dstBounds.width(), dstBounds.height()); |
+ |
+ sk_sp<SkSpecialSurface> surf(input->makeSurface(info)); |
if (!surf) { |
return nullptr; |
} |