Index: src/gpu/GrResourceCache.h |
diff --git a/src/gpu/GrResourceCache.h b/src/gpu/GrResourceCache.h |
index adbfb7919ffd25b024d6f70f527e29b18d988ed2..7116d3cb6086db5bddcfc3fed6d86ba8d8fcdba1 100644 |
--- a/src/gpu/GrResourceCache.h |
+++ b/src/gpu/GrResourceCache.h |
@@ -211,7 +211,7 @@ public: |
if (resource->cacheAccess().isScratch()) { |
++fScratch; |
} |
- if (resource->cacheAccess().isExternal()) { |
+ if (resource->resourcePriv().isExternal()) { |
++fExternal; |
} |
if (resource->cacheAccess().isBorrowed()) { |