Index: src/gpu/GrInOrderDrawBuffer.cpp |
diff --git a/src/gpu/GrInOrderDrawBuffer.cpp b/src/gpu/GrInOrderDrawBuffer.cpp |
index 493420db0b1d111448f078383cf249918f3b02c9..bf9394bb442bc1e5054cda377ce5eaa1894c9f6c 100644 |
--- a/src/gpu/GrInOrderDrawBuffer.cpp |
+++ b/src/gpu/GrInOrderDrawBuffer.cpp |
@@ -332,9 +332,9 @@ void GrInOrderDrawBuffer::onDrawPaths(const GrDrawState& ds, |
} |
DrawPaths* dp = GrNEW_APPEND_TO_RECORDER(fCmdBuffer, DrawPaths, (pathRange)); |
- dp->fIndicesLocation = savedIndices - fPathIndexBuffer.begin(); |
+ dp->fIndicesLocation = SkToU32(savedIndices - fPathIndexBuffer.begin()); |
dp->fIndexType = indexType; |
- dp->fTransformsLocation = savedTransforms - fPathTransformBuffer.begin(); |
+ dp->fTransformsLocation = SkToU32(savedTransforms - fPathTransformBuffer.begin()); |
dp->fTransformType = transformType; |
dp->fCount = count; |
dp->fStencilSettings = stencilSettings; |