Index: src/gpu/batches/GrMSAAPathRenderer.cpp |
diff --git a/src/gpu/batches/GrMSAAPathRenderer.cpp b/src/gpu/batches/GrMSAAPathRenderer.cpp |
index 324a97651354809eddd905ee9efe17bf38fedb98..05a23a1e0581db2a2fb6212bd6db65dccb1207b3 100644 |
--- a/src/gpu/batches/GrMSAAPathRenderer.cpp |
+++ b/src/gpu/batches/GrMSAAPathRenderer.cpp |
@@ -195,11 +195,10 @@ private: |
MSAAQuadProcessor(const SkMatrix& viewMatrix) |
: fViewMatrix(viewMatrix) { |
this->initClassID<MSAAQuadProcessor>(); |
- fInPosition = &this->addVertexAttrib(Attribute("inPosition", kVec2f_GrVertexAttribType, |
- kHigh_GrSLPrecision)); |
- fInUV = &this->addVertexAttrib(Attribute("inUV", kVec2f_GrVertexAttribType, |
- kHigh_GrSLPrecision)); |
- fInColor = &this->addVertexAttrib(Attribute("inColor", kVec4ub_GrVertexAttribType)); |
+ fInPosition = &this->addVertexAttrib("inPosition", kVec2f_GrVertexAttribType, |
+ kHigh_GrSLPrecision); |
+ fInUV = &this->addVertexAttrib("inUV", kVec2f_GrVertexAttribType, kHigh_GrSLPrecision); |
+ fInColor = &this->addVertexAttrib("inColor", kVec4ub_GrVertexAttribType); |
this->setSampleShading(1.0f); |
} |