Index: src/core/SkBitmapProcShader.cpp |
diff --git a/src/core/SkBitmapProcShader.cpp b/src/core/SkBitmapProcShader.cpp |
index 125f480f7247d006b089548a5ac8cdd895d08cbf..8a5e03cfc315848738387edf2646548aa0f42616 100644 |
--- a/src/core/SkBitmapProcShader.cpp |
+++ b/src/core/SkBitmapProcShader.cpp |
@@ -16,7 +16,6 @@ |
#if SK_SUPPORT_GPU |
#include "effects/GrBicubicEffect.h" |
-#include "effects/GrExtractAlphaFragmentProcessor.h" |
#include "effects/GrSimpleTextureEffect.h" |
#endif |
@@ -411,7 +410,7 @@ const GrFragmentProcessor* SkBitmapProcShader::asFragmentProcessor(GrContext* co |
if (kAlpha_8_SkColorType == fRawBitmap.colorType()) { |
return SkRef(inner.get()); |
} |
- return GrExtractAlphaFragmentProcessor::Create(inner); |
+ return GrFragmentProcessor::MulOuputByInputAlpha(inner); |
} |
#endif |