| Index: tools/LazyDecodeBitmap.cpp
|
| diff --git a/tools/LazyDecodeBitmap.cpp b/tools/LazyDecodeBitmap.cpp
|
| index 4459cf114a8a52dfaafce81991f305bd036be237..ec275eacab4c92059f9b9bbc16e6860e63e0b7ca 100644
|
| --- a/tools/LazyDecodeBitmap.cpp
|
| +++ b/tools/LazyDecodeBitmap.cpp
|
| @@ -39,7 +39,7 @@ bool sk_tools::LazyDecodeBitmap(const void* src,
|
| return false;
|
| }
|
| SkDiscardableMemory::Factory* pool = NULL;
|
| - if ((!FLAGS_useVolatileCache) || (info.fWidth * info.fHeight < 32 * 1024)) {
|
| + if ((!FLAGS_useVolatileCache) || (info.width() * info.height() < 32 * 1024)) {
|
| // how to do switching with SkDiscardableMemory.
|
| pool = SkGetGlobalDiscardableMemoryPool();
|
| // Only meaningful if platform has a default discardable
|
|
|