Index: src/effects/SkBicubicImageFilter.cpp |
diff --git a/src/effects/SkBicubicImageFilter.cpp b/src/effects/SkBicubicImageFilter.cpp |
index d6674153d5287d4c3afec471bf413a04ce81a3a5..e552415c954ab92f1d981cfa2470cfc2f956e41b 100644 |
--- a/src/effects/SkBicubicImageFilter.cpp |
+++ b/src/effects/SkBicubicImageFilter.cpp |
@@ -40,7 +40,8 @@ SkBicubicImageFilter* SkBicubicImageFilter::CreateMitchell(const SkSize& scale, |
return SkNEW_ARGS(SkBicubicImageFilter, (scale, gMitchellCoefficients, input)); |
} |
-SkBicubicImageFilter::SkBicubicImageFilter(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) { |
+SkBicubicImageFilter::SkBicubicImageFilter(SkFlattenableReadBuffer& buffer) |
+ : INHERITED(1, buffer) { |
SkDEBUGCODE(bool success =) buffer.readScalarArray(fCoefficients, 16); |
SkASSERT(success); |
fScale.fWidth = buffer.readScalar(); |