Index: src/effects/SkLightingImageFilter.cpp |
diff --git a/src/effects/SkLightingImageFilter.cpp b/src/effects/SkLightingImageFilter.cpp |
index c0c605ca040b88216ccd3b4dbdf7785aa74cb04f..692d5cef222080e9d8861957d5d324cfb605ca48 100644 |
--- a/src/effects/SkLightingImageFilter.cpp |
+++ b/src/effects/SkLightingImageFilter.cpp |
@@ -829,8 +829,9 @@ void SkLight::flattenLight(SkWriteBuffer& buffer) const { |
} |
/////////////////////////////////////////////////////////////////////////////// |
-SkLightingImageFilter::SkLightingImageFilter(SkLight* light, SkScalar surfaceScale, SkImageFilter* input, const CropRect* cropRect) |
- : INHERITED(input, cropRect), |
+SkLightingImageFilter::SkLightingImageFilter(SkLight* light, SkScalar surfaceScale, |
+ SkImageFilter* input, const CropRect* cropRect) |
+ : INHERITED(1, &input, cropRect), |
fLight(light), |
fSurfaceScale(SkScalarDiv(surfaceScale, SkIntToScalar(255))) |
{ |