Index: src/gpu/effects/GrExtractAlphaFragmentProcessor.cpp |
diff --git a/src/gpu/effects/GrExtractAlphaFragmentProcessor.cpp b/src/gpu/effects/GrExtractAlphaFragmentProcessor.cpp |
index 3414df2b135bb548d93223858bf18db197873af9..c5ee9b8571c285c9b44572fe252c343dbf8fcd8b 100644 |
--- a/src/gpu/effects/GrExtractAlphaFragmentProcessor.cpp |
+++ b/src/gpu/effects/GrExtractAlphaFragmentProcessor.cpp |
@@ -16,9 +16,7 @@ public: |
void emitCode(EmitArgs& args) override { |
GrGLFragmentBuilder* fsBuilder = args.fBuilder->getFragmentShaderBuilder(); |
fsBuilder->codeAppendf("vec4 alpha4 = %s.aaaa;", args.fInputColor); |
- SkString output; |
- this->emitChild(0, "alpha4", &output, args); |
- fsBuilder->codeAppendf("%s = %s;", args.fOutputColor, output.c_str()); |
+ this->emitChild(0, "alpha4", args.fOutputColor, args); |
} |
private: |