Index: src/effects/SkLightingImageFilter.cpp |
diff --git a/src/effects/SkLightingImageFilter.cpp b/src/effects/SkLightingImageFilter.cpp |
index 2e25cbf5026a5b96d35a7a1948a3df1ea8d3a358..4018a1c9cee075644a67cc1fed4b0c02a1af1b9c 100644 |
--- a/src/effects/SkLightingImageFilter.cpp |
+++ b/src/effects/SkLightingImageFilter.cpp |
@@ -354,7 +354,7 @@ void SkLightingImageFilterInternal::drawRect(GrDrawContext* drawContext, |
GrPaint paint; |
GrFragmentProcessor* fp = this->getFragmentProcessor(paint.getProcessorDataManager(), src, |
matrix, bounds, boundaryMode); |
- paint.addColorProcessor(fp)->unref(); |
+ paint.addColorFragmentProcessor(fp)->unref(); |
drawContext->drawNonAARectToRect(dst->asRenderTarget(), clip, paint, SkMatrix::I(), |
dstRect, srcRect); |
} |