Chromium Code Reviews| Index: src/effects/SkAlphaThresholdFilter.cpp |
| diff --git a/src/effects/SkAlphaThresholdFilter.cpp b/src/effects/SkAlphaThresholdFilter.cpp |
| index 0bc906dae9995920d9ba8d09d132bbf81b4f8c54..1c98584092810382c1505178e1f056223d95d5ec 100644 |
| --- a/src/effects/SkAlphaThresholdFilter.cpp |
| +++ b/src/effects/SkAlphaThresholdFilter.cpp |
| @@ -13,7 +13,7 @@ |
| class SK_API SkAlphaThresholdFilterImpl : public SkImageFilter { |
| public: |
| - SkAlphaThresholdFilterImpl(const SkRegion& region, SkScalar innerThreshold, SkScalar outerThreshold); |
| + SkAlphaThresholdFilterImpl(const SkRegion& region, SkScalar innerThreshold, SkScalar outerThreshold, SkImageFilter* input = NULL); |
|
reed1
2014/07/08 15:15:24
nit: 100 col
Stephen White
2014/07/08 15:33:30
Fixed.
|
| SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkAlphaThresholdFilterImpl) |
| @@ -240,8 +240,9 @@ SkAlphaThresholdFilterImpl::SkAlphaThresholdFilterImpl(SkReadBuffer& buffer) |
| SkAlphaThresholdFilterImpl::SkAlphaThresholdFilterImpl(const SkRegion& region, |
| SkScalar innerThreshold, |
| - SkScalar outerThreshold) |
| - : INHERITED(0) |
| + SkScalar outerThreshold, |
| + SkImageFilter* input) |
| + : INHERITED(1, &input) |
| , fRegion(region) |
| , fInnerThreshold(innerThreshold) |
| , fOuterThreshold(outerThreshold) { |