| Index: src/core/SkBitmapProcState.cpp
|
| diff --git a/src/core/SkBitmapProcState.cpp b/src/core/SkBitmapProcState.cpp
|
| index 367b3ff9f926bb4fbb33385d5ec95f1876bb486e..30a64ed5a84e7f3b3bef80b5e429cc5d1d83457c 100644
|
| --- a/src/core/SkBitmapProcState.cpp
|
| +++ b/src/core/SkBitmapProcState.cpp
|
| @@ -113,7 +113,7 @@ static SkScalar effective_matrix_scale_sqrd(const SkMatrix& mat) {
|
| // Check to see that the size of the bitmap that would be produced by
|
| // scaling by the given inverted matrix is less than the maximum allowed.
|
| static inline bool cache_size_okay(const SkBitmap& bm, const SkMatrix& invMat) {
|
| - size_t maximumAllocation = SkResourceCache::GetSingleAllocationByteLimit();
|
| + size_t maximumAllocation = SkResourceCache::GetEffectiveSingleAllocationByteLimit();
|
| if (0 == maximumAllocation) {
|
| return true;
|
| }
|
|
|