Index: src/effects/SkMatrixConvolutionImageFilter.cpp |
diff --git a/src/effects/SkMatrixConvolutionImageFilter.cpp b/src/effects/SkMatrixConvolutionImageFilter.cpp |
index 6f213d71184887a8c61c5ee0c27489d374256003..94c75cd8a7dc67b05d992930d7fdf98c3c462a23 100644 |
--- a/src/effects/SkMatrixConvolutionImageFilter.cpp |
+++ b/src/effects/SkMatrixConvolutionImageFilter.cpp |
@@ -58,7 +58,7 @@ SkMatrixConvolutionImageFilter::SkMatrixConvolutionImageFilter( |
} |
SkMatrixConvolutionImageFilter::SkMatrixConvolutionImageFilter(SkFlattenableReadBuffer& buffer) |
- : INHERITED(buffer) { |
+ : INHERITED(buffer, SkImageFilter::kOneInput) { |
// We need to be able to read at most SK_MaxS32 bytes, so divide that |
// by the size of a scalar to know how many scalars we can read. |
static const int32_t kMaxSize = SK_MaxS32 / sizeof(SkScalar); |