| Index: src/gpu/gl/GrGpuGL.cpp
|
| diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp
|
| index ed8279d865a27424a4ea5a810a5cbd79e61feb2f..7131cfa1ebbf6afd8e46b32a8f0651fa85d9407f 100644
|
| --- a/src/gpu/gl/GrGpuGL.cpp
|
| +++ b/src/gpu/gl/GrGpuGL.cpp
|
| @@ -578,7 +578,7 @@ bool GrGpuGL::uploadTexData(const GrGLTexture::Desc& desc,
|
| size_t trimRowBytes = width * bpp;
|
|
|
| // in case we need a temporary, trimmed copy of the src pixels
|
| - SkAutoSMalloc<128 * 128> tempStorage;
|
| + GrAutoMalloc<128 * 128> tempStorage;
|
|
|
| // We currently lazily create MIPMAPs when the we see a draw with
|
| // GrTextureParams::kMipMap_FilterMode. Using texture storage requires that the
|
| @@ -1666,7 +1666,7 @@ bool GrGpuGL::onReadPixels(GrRenderTarget* target,
|
|
|
| // determine if GL can read using the passed rowBytes or if we need
|
| // a scratch buffer.
|
| - SkAutoSMalloc<32 * sizeof(GrColor)> scratch;
|
| + GrAutoMalloc<32 * sizeof(GrColor)> scratch;
|
| if (rowBytes != tightRowBytes) {
|
| if (this->glCaps().packRowLengthSupport()) {
|
| SkASSERT(!(rowBytes % sizeof(GrColor)));
|
|
|