| Index: src/gpu/GrContext.cpp
|
| diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
|
| index 282d6c4acc9f887a47af16b01831a5441191367e..886f5ae26c18b3f3c04e4bd1d5d0146a03465646 100755
|
| --- a/src/gpu/GrContext.cpp
|
| +++ b/src/gpu/GrContext.cpp
|
| @@ -378,7 +378,7 @@ GrTexture* GrContext::createResizedTexture(const GrTextureDesc& desc,
|
| SkASSERT(!GrPixelConfigIsCompressed(desc.fConfig));
|
|
|
| size_t bpp = GrBytesPerPixel(desc.fConfig);
|
| - SkAutoSMalloc<128*128*4> stretchedPixels(bpp * rtDesc.fWidth * rtDesc.fHeight);
|
| + GrAutoMalloc<128*128*4> stretchedPixels(bpp * rtDesc.fWidth * rtDesc.fHeight);
|
| stretch_image(stretchedPixels.get(), rtDesc.fWidth, rtDesc.fHeight,
|
| srcData, desc.fWidth, desc.fHeight, bpp);
|
|
|
|
|