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