Index: src/gpu/effects/GrDashingEffect.cpp |
diff --git a/src/gpu/effects/GrDashingEffect.cpp b/src/gpu/effects/GrDashingEffect.cpp |
index adee4aec966bdd7acd12b2f994190b7188b19b3e..4b2bafefdbbb14af4f62ff29ae9d9f18390b9b46 100644 |
--- a/src/gpu/effects/GrDashingEffect.cpp |
+++ b/src/gpu/effects/GrDashingEffect.cpp |
@@ -350,8 +350,7 @@ |
} |
// Set up the vertex data for the line and start/end dashes |
- drawState->setVertexAttribs<gDashLineVertexAttribs>(SK_ARRAY_COUNT(gDashLineVertexAttribs), |
- sizeof(DashLineVertex)); |
+ drawState->setVertexAttribs<gDashLineVertexAttribs>(SK_ARRAY_COUNT(gDashLineVertexAttribs)); |
int totalRectCnt = 0; |