Index: cc/resources/resource_pool.h |
diff --git a/cc/resources/resource_pool.h b/cc/resources/resource_pool.h |
index 21bbb0a70d072432048b2a75c2d925d461f81448..326e139cda72826f08cb136e5af2283e382eac26 100644 |
--- a/cc/resources/resource_pool.h |
+++ b/cc/resources/resource_pool.h |
@@ -45,6 +45,7 @@ class CC_EXPORT ResourcePool { |
size_t max_resource_count); |
void ReduceResourceUsage(); |
+ void CheckConsumedResources(); |
size_t total_memory_usage_bytes() const { |
return memory_usage_bytes_; |
@@ -72,6 +73,7 @@ class CC_EXPORT ResourcePool { |
typedef std::list<Resource*> ResourceList; |
ResourceList unused_resources_; |
+ ResourceList consumed_resources_; |
DISALLOW_COPY_AND_ASSIGN(ResourcePool); |
}; |