| Index: src/gpu/GrGpu.cpp
|
| diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp
|
| index a4aa00eac12b53406a4cf0a02a82438c84743769..910c57146bd2200727cc1b8455a38bdfe71da366 100644
|
| --- a/src/gpu/GrGpu.cpp
|
| +++ b/src/gpu/GrGpu.cpp
|
| @@ -276,14 +276,14 @@ const GrIndexBuffer* GrGpu::getQuadIndexBuffer() const {
|
| fill_indices(indices, MAX_QUADS);
|
| fQuadIndexBuffer->unlock();
|
| } else {
|
| - indices = (uint16_t*)GrMalloc(SIZE);
|
| + indices = (uint16_t*)sk_malloc_throw(SIZE);
|
| fill_indices(indices, MAX_QUADS);
|
| if (!fQuadIndexBuffer->updateData(indices, SIZE)) {
|
| fQuadIndexBuffer->unref();
|
| fQuadIndexBuffer = NULL;
|
| GrCrash("Can't get indices into buffer!");
|
| }
|
| - GrFree(indices);
|
| + sk_free(indices);
|
| }
|
| }
|
| }
|
|
|