Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index 0a742ed42898527df12c700878b41ac660653e52..225b44b8d94006185c2528a8149f9fa387ad6594 100755 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -217,10 +217,10 @@ void GrContext::freeGpuResources() { |
void GrContext::getResourceCacheUsage(int* resourceCount, size_t* resourceBytes) const { |
if (resourceCount) { |
- *resourceCount = fResourceCache2->getResourceCount(); |
+ *resourceCount = fResourceCache2->getBudgetedResourceCount(); |
} |
if (resourceBytes) { |
- *resourceBytes = fResourceCache2->getResourceBytes(); |
+ *resourceBytes = fResourceCache2->getBudgetedResourceBytes(); |
} |
} |