Index: src/effects/SkOffsetImageFilter.cpp |
diff --git a/src/effects/SkOffsetImageFilter.cpp b/src/effects/SkOffsetImageFilter.cpp |
index 7680c62cfc948738b9f8e9dea124ef07666f50d7..57f36db113ca066c6bcb00019c17eb53076659a6 100644 |
--- a/src/effects/SkOffsetImageFilter.cpp |
+++ b/src/effects/SkOffsetImageFilter.cpp |
@@ -97,7 +97,8 @@ void SkOffsetImageFilter::flatten(SkWriteBuffer& buffer) const { |
} |
SkOffsetImageFilter::SkOffsetImageFilter(SkScalar dx, SkScalar dy, SkImageFilter* input, |
- const CropRect* cropRect) : INHERITED(input, cropRect) { |
+ const CropRect* cropRect) |
+ : INHERITED(1, &input, cropRect) { |
fOffset.set(dx, dy); |
} |