Index: src/gpu/GrTest.cpp |
diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp |
index 14259e6b3887bd80fc2926dd27d1a2692efbf1d9..72fde041b188bebef1c60ca97f0d35c73ae16596 100644 |
--- a/src/gpu/GrTest.cpp |
+++ b/src/gpu/GrTest.cpp |
@@ -8,6 +8,7 @@ |
#include "GrTest.h" |
+#include "GrGpuResourceCacheAccess.h" |
#include "GrInOrderDrawBuffer.h" |
#include "GrResourceCache.h" |
#include "SkString.h" |
@@ -96,7 +97,7 @@ void GrResourceCache::dumpStats(SkString* out) const { |
if (resource->cacheAccess().isWrapped()) { |
++wrapped; |
} |
- if (!resource->cacheAccess().isBudgeted()) { |
+ if (!resource->resourcePriv().isBudgeted()) { |
unbudgetedSize += resource->gpuMemorySize(); |
} |
} |