Index: src/gpu/GrResourceCache.cpp |
=================================================================== |
--- src/gpu/GrResourceCache.cpp (revision 11758) |
+++ src/gpu/GrResourceCache.cpp (working copy) |
@@ -354,7 +354,7 @@ |
// so we don't want to just do a simple loop kicking each |
// entry out. Instead change the budget and purge. |
- int savedMaxBytes = fMaxBytes; |
+ size_t savedMaxBytes = fMaxBytes; |
int savedMaxCount = fMaxCount; |
fMaxBytes = (size_t) -1; |
fMaxCount = 0; |