| Index: src/gpu/SkGpuDevice.cpp
|
| diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
|
| index b279c43c100b10bf385d3c38223e0081b1a166ac..63477324050eb9651cd52ee960d5f5e46a801b21 100644
|
| --- a/src/gpu/SkGpuDevice.cpp
|
| +++ b/src/gpu/SkGpuDevice.cpp
|
| @@ -1080,7 +1080,7 @@ bool SkGpuDevice::shouldTileBitmap(const SkBitmap& bitmap,
|
| // a texture
|
| size_t bmpSize = bitmap.getSize();
|
| size_t cacheSize;
|
| - fContext->getTextureCacheLimits(NULL, &cacheSize);
|
| + fContext->getResourceCacheLimits(NULL, &cacheSize);
|
| if (bmpSize < cacheSize / 2) {
|
| return false;
|
| }
|
|
|