Index: src/gpu/effects/GrRRectEffect.cpp |
diff --git a/src/gpu/effects/GrRRectEffect.cpp b/src/gpu/effects/GrRRectEffect.cpp |
index a91b8f131d4db2211dbf0a57e30a11b14c542ce8..d1d811da902212fc1b39232b04497b3ecd108fdb 100644 |
--- a/src/gpu/effects/GrRRectEffect.cpp |
+++ b/src/gpu/effects/GrRRectEffect.cpp |
@@ -175,7 +175,7 @@ void GLCircularRRectEffect::emitCode(EmitArgs& args) { |
clampedCircleDistance.printf("clamp(%s.x - length(dxy), 0.0, 1.0);", radiusPlusHalfName); |
} |
- GrGLSLFragmentBuilder* fragBuilder = args.fFragBuilder; |
+ GrGLSLFPFragmentBuilder* fragBuilder = args.fFragBuilder; |
const char* fragmentPos = fragBuilder->fragmentPosition(); |
// At each quarter-circle corner we compute a vector that is the offset of the fragment position |
// from the circle center. The vector is pinned in x and y to be in the quarter-plane relevant |
@@ -513,7 +513,7 @@ void GLEllipticalRRectEffect::emitCode(EmitArgs& args) { |
"innerRect", |
&rectName); |
- GrGLSLFragmentBuilder* fragBuilder = args.fFragBuilder; |
+ GrGLSLFPFragmentBuilder* fragBuilder = args.fFragBuilder; |
const char* fragmentPos = fragBuilder->fragmentPosition(); |
// At each quarter-ellipse corner we compute a vector that is the offset of the fragment pos |
// to the ellipse center. The vector is pinned in x and y to be in the quarter-plane relevant |