Index: src/effects/gradients/SkRadialGradient.cpp |
diff --git a/src/effects/gradients/SkRadialGradient.cpp b/src/effects/gradients/SkRadialGradient.cpp |
index 13b45101cf38327a05444c332feaab35a88dc476..bf46f70f6a4f4810f09a13989a6c5870d7e60bf1 100644 |
--- a/src/effects/gradients/SkRadialGradient.cpp |
+++ b/src/effects/gradients/SkRadialGradient.cpp |
@@ -415,7 +415,6 @@ void SkRadialGradient::RadialGradientContext::shadeSpan(int x, int y, |
#if SK_SUPPORT_GPU |
#include "SkGr.h" |
-#include "effects/GrExtractAlphaFragmentProcessor.h" |
#include "gl/builders/GrGLProgramBuilder.h" |
class GrGLRadialGradient : public GrGLGradientEffect { |
@@ -534,7 +533,7 @@ const GrFragmentProcessor* SkRadialGradient::asFragmentProcessor( |
matrix.postConcat(fPtsToUnit); |
SkAutoTUnref<const GrFragmentProcessor> inner( |
GrRadialGradient::Create(context, procDataManager, *this, matrix, fTileMode)); |
- return GrExtractAlphaFragmentProcessor::Create(inner); |
+ return GrFragmentProcessor::MulOuputByInputAlpha(inner); |
} |
#endif |