| Index: src/gpu/GrTessellatingPathRenderer.cpp
|
| diff --git a/src/gpu/GrTessellatingPathRenderer.cpp b/src/gpu/GrTessellatingPathRenderer.cpp
|
| index 955e6c12e2ee76c7da96baf53784d3b9e85699e9..1170e1cc99f60eda811dd516bfb5b6d3d7f3a284 100644
|
| --- a/src/gpu/GrTessellatingPathRenderer.cpp
|
| +++ b/src/gpu/GrTessellatingPathRenderer.cpp
|
| @@ -1515,6 +1515,12 @@ public:
|
| count,
|
| &vertexBuffer,
|
| &firstVertex);
|
| +
|
| + if (!vertices) {
|
| + SkDebugf("Could not allocate vertices\n");
|
| + return;
|
| + }
|
| +
|
| LOG("emitting %d verts\n", count);
|
| void* end = polys_to_triangles(polys, fillType, vertices);
|
| int actualCount = static_cast<int>(
|
|
|