Index: src/gpu/GrInOrderDrawBuffer.cpp |
diff --git a/src/gpu/GrInOrderDrawBuffer.cpp b/src/gpu/GrInOrderDrawBuffer.cpp |
index 6d0bbd11c0c023e2ce4c12c93aefe2b9636cd1d0..9df54a807609719911ed4f3929ddfdb81c5fe687 100644 |
--- a/src/gpu/GrInOrderDrawBuffer.cpp |
+++ b/src/gpu/GrInOrderDrawBuffer.cpp |
@@ -430,7 +430,7 @@ void GrInOrderDrawBuffer::onDrawPaths(const GrPathRange* pathRange, |
memcpy(dp->fIndices, indices, sizeof(uint32_t) * count); |
dp->fCount = count; |
- const int transformsLength = PathTransformSize(transformsType) * count; |
+ const int transformsLength = GrPathRendering::PathTransformSize(transformsType) * count; |
dp->fTransforms = SkNEW_ARRAY(float, transformsLength); |
memcpy(dp->fTransforms, transforms, sizeof(float) * transformsLength); |
dp->fTransformsType = transformsType; |