| Index: cc/resources/scoped_resource.cc
|
| diff --git a/cc/resources/scoped_resource.cc b/cc/resources/scoped_resource.cc
|
| index b31272f1005a33a3f4f11bc23558784326fad5c7..14209e047d30eb725514d8b032d26577582c489e 100644
|
| --- a/cc/resources/scoped_resource.cc
|
| +++ b/cc/resources/scoped_resource.cc
|
| @@ -27,7 +27,7 @@ bool ScopedResource::Allocate(const gfx::Size& size, GLenum format,
|
| allocate_thread_id_ = base::PlatformThread::CurrentId();
|
| #endif
|
|
|
| - return id();
|
| + return id() != 0;
|
| }
|
|
|
| void ScopedResource::Free() {
|
|
|