| Index: src/gpu/GrTextureProvider.cpp
 | 
| diff --git a/src/gpu/GrTextureProvider.cpp b/src/gpu/GrTextureProvider.cpp
 | 
| index cfa6994c4b6d043b616aa335d48613ec11cbdfe0..cf93209dbc5bbb1bb2ec1ba1bdcdc16d117c4c46 100644
 | 
| --- a/src/gpu/GrTextureProvider.cpp
 | 
| +++ b/src/gpu/GrTextureProvider.cpp
 | 
| @@ -73,10 +73,10 @@ GrTexture* GrTextureProvider::internalRefScratchTexture(const GrSurfaceDesc& inD
 | 
|      if (fGpu->caps()->reuseScratchTextures() || (desc->fFlags & kRenderTarget_GrSurfaceFlag)) {
 | 
|          if (!(kExact_ScratchTextureFlag & flags)) {
 | 
|              // bin by pow2 with a reasonable min
 | 
| -            static const int MIN_SIZE = 16;
 | 
| +            const int minSize = SkTMin(16, fGpu->caps()->minTextureSize());
 | 
|              GrSurfaceDesc* wdesc = desc.writable();
 | 
| -            wdesc->fWidth  = SkTMax(MIN_SIZE, GrNextPow2(desc->fWidth));
 | 
| -            wdesc->fHeight = SkTMax(MIN_SIZE, GrNextPow2(desc->fHeight));
 | 
| +            wdesc->fWidth  = SkTMax(minSize, GrNextPow2(desc->fWidth));
 | 
| +            wdesc->fHeight = SkTMax(minSize, GrNextPow2(desc->fHeight));
 | 
|          }
 | 
|  
 | 
|          GrScratchKey key;
 | 
| 
 |