Index: src/core/SkColorFilter.cpp |
diff --git a/src/core/SkColorFilter.cpp b/src/core/SkColorFilter.cpp |
index 031f376eee181e626377edfbc70f8729596dd239..9c224bd9289bf34ee848f25b418a7ef2c08e4cde 100644 |
--- a/src/core/SkColorFilter.cpp |
+++ b/src/core/SkColorFilter.cpp |
@@ -69,9 +69,10 @@ public: |
#endif |
#if SK_SUPPORT_GPU |
- const GrFragmentProcessor* asFragmentProcessor(GrContext* context) const override { |
- SkAutoTUnref<const GrFragmentProcessor> innerFP(fInner->asFragmentProcessor(context)); |
- SkAutoTUnref<const GrFragmentProcessor> outerFP(fOuter->asFragmentProcessor(context)); |
+ const GrFragmentProcessor* asFragmentProcessor(GrContext* context, |
+ GrRenderTarget* dst) const override { |
+ SkAutoTUnref<const GrFragmentProcessor> innerFP(fInner->asFragmentProcessor(context, dst)); |
+ SkAutoTUnref<const GrFragmentProcessor> outerFP(fOuter->asFragmentProcessor(context, dst)); |
if (!innerFP || !outerFP) { |
return nullptr; |
} |