Index: src/gpu/GrResourceCache.h |
diff --git a/src/gpu/GrResourceCache.h b/src/gpu/GrResourceCache.h |
index adbfb7919ffd25b024d6f70f527e29b18d988ed2..8321289dff777785c524fa74dda4eebd64a8a3c8 100644 |
--- a/src/gpu/GrResourceCache.h |
+++ b/src/gpu/GrResourceCache.h |
@@ -220,7 +220,7 @@ public: |
if (resource->cacheAccess().isAdopted()) { |
++fAdopted; |
} |
- if (!resource->resourcePriv().isBudgeted()) { |
+ if (SkBudgeted::kNo == resource->resourcePriv().isBudgeted()) { |
fUnbudgetedSize += resource->gpuMemorySize(); |
} |
} |