summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cc/resources/resource_pool.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/cc/resources/resource_pool.cc b/cc/resources/resource_pool.cc
index 2d455a0..afcc114 100644
--- a/cc/resources/resource_pool.cc
+++ b/cc/resources/resource_pool.cc
@@ -47,12 +47,8 @@ scoped_ptr<ResourcePool::Resource> ResourcePool::AcquireResource(
it != unused_resources_.end(); ++it) {
Resource* resource = *it;
- // TODO(epenner): It would be nice to DCHECK that this
- // doesn't happen two frames in a row for any resource
- // in this pool.
if (!resource_provider_->CanLockForWrite(resource->id()))
continue;
-
if (resource->size() != size)
continue;
if (resource->format() != format)