Index: src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp |
diff --git a/src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp b/src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp |
index 6c92684203408305dcf311be9ef1728b954578eb..182ebfb70fa92133851cb93f13f54c9986143b24 100644 |
--- a/src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp |
+++ b/src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp |
@@ -120,8 +120,8 @@ bool GrGLFragmentShaderBuilder::enableFeature(GLSLFeature feature) { |
} |
SkString GrGLFragmentShaderBuilder::ensureFSCoords2D(const TransformedCoordsArray& coords, int index) { |
- if (kVec3f_GrSLType != coords[index].type()) { |
- SkASSERT(kVec2f_GrSLType == coords[index].type()); |
+ if (kVec3f_GrSLType != coords[index].getType()) { |
+ SkASSERT(kVec2f_GrSLType == coords[index].getType()); |
return coords[index].getName(); |
} |