Index: src/effects/SkMagnifierImageFilter.cpp |
diff --git a/src/effects/SkMagnifierImageFilter.cpp b/src/effects/SkMagnifierImageFilter.cpp |
index 99c0176a1131d14879e1093d1913552805413230..3d2ca56fb30b83785261dc5b2c24c56dc9456d9b 100644 |
--- a/src/effects/SkMagnifierImageFilter.cpp |
+++ b/src/effects/SkMagnifierImageFilter.cpp |
@@ -246,9 +246,9 @@ SkMagnifierImageFilter::SkMagnifierImageFilter(SkReadBuffer& buffer) |
(fSrcRect.fLeft >= 0) && (fSrcRect.fTop >= 0)); |
} |
-// FIXME: implement single-input semantics |
-SkMagnifierImageFilter::SkMagnifierImageFilter(const SkRect& srcRect, SkScalar inset) |
- : INHERITED(0), fSrcRect(srcRect), fInset(inset) { |
+SkMagnifierImageFilter::SkMagnifierImageFilter(const SkRect& srcRect, SkScalar inset, |
+ SkImageFilter* input) |
+ : INHERITED(1, &input), fSrcRect(srcRect), fInset(inset) { |
SkASSERT(srcRect.x() >= 0 && srcRect.y() >= 0 && inset >= 0); |
} |