Index: src/effects/gradients/SkTwoPointConicalGradient.cpp |
diff --git a/src/effects/gradients/SkTwoPointConicalGradient.cpp b/src/effects/gradients/SkTwoPointConicalGradient.cpp |
index daec1e6388c8df1280efb9ea664d6e701a2902af..f6462b31ae2633bc2600c2e10453a6effdf26056 100644 |
--- a/src/effects/gradients/SkTwoPointConicalGradient.cpp |
+++ b/src/effects/gradients/SkTwoPointConicalGradient.cpp |
@@ -359,7 +359,6 @@ void SkTwoPointConicalGradient::flatten(SkWriteBuffer& buffer) const { |
#if SK_SUPPORT_GPU |
#include "SkGr.h" |
-#include "effects/GrExtractAlphaFragmentProcessor.h" |
const GrFragmentProcessor* SkTwoPointConicalGradient::asFragmentProcessor( |
GrContext* context, |
@@ -372,7 +371,7 @@ const GrFragmentProcessor* SkTwoPointConicalGradient::asFragmentProcessor( |
SkAutoTUnref<const GrFragmentProcessor> inner( |
Gr2PtConicalGradientEffect::Create(context, procDataManager, *this, fTileMode, |
localMatrix)); |
- return GrExtractAlphaFragmentProcessor::Create(inner); |
+ return GrFragmentProcessor::MulOuputByInputAlpha(inner); |
} |
#endif |