Index: src/effects/SkMagnifierImageFilter.cpp |
diff --git a/src/effects/SkMagnifierImageFilter.cpp b/src/effects/SkMagnifierImageFilter.cpp |
index 7ac5249284177589d58a24da4c3b1bc7e0957c2f..d4120598f1b4d626d0dc583c65bacc57c4f15d00 100644 |
--- a/src/effects/SkMagnifierImageFilter.cpp |
+++ b/src/effects/SkMagnifierImageFilter.cpp |
@@ -232,7 +232,7 @@ void GrMagnifierEffect::getConstantColorComponents(GrColor* color, uint32_t* val |
//////////////////////////////////////////////////////////////////////////////// |
SkMagnifierImageFilter::SkMagnifierImageFilter(SkFlattenableReadBuffer& buffer) |
- : INHERITED(buffer) { |
+ : INHERITED(1, buffer) { |
float x = buffer.readScalar(); |
float y = buffer.readScalar(); |
float width = buffer.readScalar(); |