Chromium Code Reviews| Index: cc/scoped_resource.cc |
| diff --git a/cc/scoped_resource.cc b/cc/scoped_resource.cc |
| index c5894aaac2fff829c071b0b85606ae8107425c2f..d7ef4640ff57999246c50f7557d09ec3ede49fe9 100644 |
| --- a/cc/scoped_resource.cc |
| +++ b/cc/scoped_resource.cc |
| @@ -21,7 +21,7 @@ bool ScopedResource::Allocate(const gfx::Size& size, GLenum format, |
| DCHECK(!size.IsEmpty()); |
| set_dimensions(size, format); |
| - set_id(resource_provider_->createResource(size, format, hint)); |
| + set_id(resource_provider_->createAllocatedResource(size, format, hint)); |
|
piman
2012/12/18 22:41:38
"for tests only" fails here. Why is this needed?
|
| #ifndef NDEBUG |
| allocate_thread_id_ = base::PlatformThread::CurrentId(); |