Index: src/gpu/batches/GrNonAAFillRectBatch.cpp |
diff --git a/src/gpu/batches/GrNonAAFillRectBatch.cpp b/src/gpu/batches/GrNonAAFillRectBatch.cpp |
index e2fff2adad9d94161a72999b8ee15aca556df131..1422951d240d59fab798d40014e612ad57c86be6 100644 |
--- a/src/gpu/batches/GrNonAAFillRectBatch.cpp |
+++ b/src/gpu/batches/GrNonAAFillRectBatch.cpp |
@@ -15,6 +15,8 @@ |
#include "GrQuad.h" |
#include "GrVertexBatch.h" |
+#include "SkMatrixPriv.h" |
+ |
static const int kVertsPerInstance = 4; |
static const int kIndicesPerInstance = 6; |
@@ -47,7 +49,7 @@ static void tesselate(intptr_t vertices, |
rect.fRight, rect.fBottom, vertexStride); |
if (viewMatrix) { |
- viewMatrix->mapPointsWithStride(positions, vertexStride, kVertsPerInstance); |
+ SkMatrixPriv::MapPointsWithStride(*viewMatrix, positions, vertexStride, kVertsPerInstance); |
} |
// Setup local coords |