| Index: src/gpu/gl/GrGLPath.cpp
|
| diff --git a/src/gpu/gl/GrGLPath.cpp b/src/gpu/gl/GrGLPath.cpp
|
| index 6eab7d098dcbf4783e4a8c9de8f8459951f16606..c15a1a2d62461b1430642e2ca5ad182c14087dd8 100644
|
| --- a/src/gpu/gl/GrGLPath.cpp
|
| +++ b/src/gpu/gl/GrGLPath.cpp
|
| @@ -184,8 +184,9 @@ inline bool init_path_object_for_general_path(GrGLGpu* gpu, GrGLuint pathID,
|
| SkASSERT(verbCnt == pathCommands.count());
|
| SkASSERT(numCoords == pathCoords.count());
|
|
|
| - GR_GL_CALL(gpu->glInterface(), PathCommands(pathID, pathCommands.count(), &pathCommands[0],
|
| - pathCoords.count(), GR_GL_FLOAT, &pathCoords[0]));
|
| + GR_GL_CALL(gpu->glInterface(),
|
| + PathCommands(pathID, pathCommands.count(), pathCommands.begin(),
|
| + pathCoords.count(), GR_GL_FLOAT, pathCoords.begin()));
|
| return true;
|
| }
|
|
|
|
|