Index: src/gpu/GrTextureProvider.cpp |
diff --git a/src/gpu/GrTextureProvider.cpp b/src/gpu/GrTextureProvider.cpp |
index 00494da5a1194a088de10a5b44f66cd3e65b5b53..68a5540484030dbe592c4161b77c348c6a44b0d8 100644 |
--- a/src/gpu/GrTextureProvider.cpp |
+++ b/src/gpu/GrTextureProvider.cpp |
@@ -139,7 +139,7 @@ GrTexture* GrTextureProvider::refScratchTexture(const GrSurfaceDesc& inDesc, |
scratchFlags = GrResourceCache::kPreferNoPendingIO_ScratchFlag; |
} |
GrGpuResource* resource = fCache->findAndRefScratchResource(key, |
- GrSurface::WorseCaseSize(*desc), |
+ GrSurface::WorstCaseSize(*desc), |
scratchFlags); |
if (resource) { |
GrSurface* surface = static_cast<GrSurface*>(resource); |