Index: src/effects/SkBicubicImageFilter.cpp |
diff --git a/src/effects/SkBicubicImageFilter.cpp b/src/effects/SkBicubicImageFilter.cpp |
index 778df3fd4f50356759b663fbff03d2177c54c5b4..d6674153d5287d4c3afec471bf413a04ce81a3a5 100644 |
--- a/src/effects/SkBicubicImageFilter.cpp |
+++ b/src/effects/SkBicubicImageFilter.cpp |
@@ -41,8 +41,8 @@ SkBicubicImageFilter* SkBicubicImageFilter::CreateMitchell(const SkSize& scale, |
} |
SkBicubicImageFilter::SkBicubicImageFilter(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) { |
- SkDEBUGCODE(uint32_t readSize =) buffer.readScalarArray(fCoefficients); |
- SkASSERT(readSize == 16); |
+ SkDEBUGCODE(bool success =) buffer.readScalarArray(fCoefficients, 16); |
+ SkASSERT(success); |
fScale.fWidth = buffer.readScalar(); |
fScale.fHeight = buffer.readScalar(); |
buffer.validate(SkScalarIsFinite(fScale.fWidth) && |