Index: src/effects/SkMatrixConvolutionImageFilter.cpp |
diff --git a/src/effects/SkMatrixConvolutionImageFilter.cpp b/src/effects/SkMatrixConvolutionImageFilter.cpp |
index 6f213d71184887a8c61c5ee0c27489d374256003..cef0450f8ba83e66c1880c41cb1c0f34ef696e06 100644 |
--- a/src/effects/SkMatrixConvolutionImageFilter.cpp |
+++ b/src/effects/SkMatrixConvolutionImageFilter.cpp |
@@ -58,7 +58,7 @@ SkMatrixConvolutionImageFilter::SkMatrixConvolutionImageFilter( |
} |
SkMatrixConvolutionImageFilter::SkMatrixConvolutionImageFilter(SkFlattenableReadBuffer& buffer) |
- : INHERITED(buffer) { |
+ : INHERITED(1, buffer) { |
// 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); |