Index: src/gpu/GrResourceCache.h |
diff --git a/src/gpu/GrResourceCache.h b/src/gpu/GrResourceCache.h |
index 8321289dff777785c524fa74dda4eebd64a8a3c8..fb13dde88ef3a8d160ad4751723bff64a882d49d 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()) { |