Index: src/core/SkLightingShader.cpp |
diff --git a/src/core/SkLightingShader.cpp b/src/core/SkLightingShader.cpp |
index 2907dba7d57f816f273c9cc8fd2694805c14aeba..b23acfdf7d227207a189257004528c6d9a937ce9 100644 |
--- a/src/core/SkLightingShader.cpp |
+++ b/src/core/SkLightingShader.cpp |
@@ -131,7 +131,6 @@ private: |
#include "GrCoordTransform.h" |
#include "GrFragmentProcessor.h" |
#include "GrTextureAccess.h" |
-#include "effects/GrExtractAlphaFragmentProcessor.h" |
#include "gl/GrGLProcessor.h" |
#include "gl/builders/GrGLProgramBuilder.h" |
#include "SkGr.h" |
@@ -401,7 +400,7 @@ const GrFragmentProcessor* SkLightingShaderImpl::asFragmentProcessor( |
SkAutoTUnref<const GrFragmentProcessor> inner ( |
new LightingFP(pdm, diffuseTexture, normalTexture, diffM, normM, diffParams, normParams, |
fLights, fInvNormRotation)); |
- return GrExtractAlphaFragmentProcessor::Create(inner); |
+ return GrFragmentProcessor::MulOuputByInputAlpha(inner); |
} |
#endif |