| Index: cc/resources/resource_pool.h
|
| diff --git a/cc/resources/resource_pool.h b/cc/resources/resource_pool.h
|
| index a1bd9d696cb14933dcdd1d63d5d3e4aef5117dd1..c87d0453c401967099d2905aa9c663f4e6d31ed8 100644
|
| --- a/cc/resources/resource_pool.h
|
| +++ b/cc/resources/resource_pool.h
|
| @@ -71,8 +71,8 @@ class CC_EXPORT ResourcePool : public base::trace_event::MemoryDumpProvider,
|
|
|
| void SetResourceUsageLimits(size_t max_memory_usage_bytes,
|
| size_t max_resource_count);
|
| -
|
| void ReduceResourceUsage();
|
| + bool ResourceUsageTooHigh();
|
|
|
| // Must be called regularly to move resources from the busy pool to the unused
|
| // pool.
|
| @@ -104,8 +104,6 @@ class CC_EXPORT ResourcePool : public base::trace_event::MemoryDumpProvider,
|
| bool use_gpu_memory_buffers,
|
| const base::TimeDelta& expiration_delay);
|
|
|
| - bool ResourceUsageTooHigh();
|
| -
|
| private:
|
| FRIEND_TEST_ALL_PREFIXES(ResourcePoolTest, ReuseResource);
|
| class PoolResource : public ScopedResource {
|
|
|