| Index: cc/resources/scoped_resource.cc | 
| diff --git a/cc/resources/scoped_resource.cc b/cc/resources/scoped_resource.cc | 
| index 525fb735db5a57a1a49dbcc1d7d082fd3a049dfe..039c567dd37cab3f77e673273e2855981c61fa7a 100644 | 
| --- a/cc/resources/scoped_resource.cc | 
| +++ b/cc/resources/scoped_resource.cc | 
| @@ -16,14 +16,14 @@ ScopedResource::~ScopedResource() { | 
| } | 
|  | 
| bool ScopedResource::Allocate(gfx::Size size, | 
| -                              GLenum format, | 
| -                              ResourceProvider::TextureUsageHint hint) { | 
| +                              ResourceProvider::TextureUsageHint hint, | 
| +                              ResourceProvider::Format texture_format) { | 
| DCHECK(!id()); | 
| DCHECK(!size.IsEmpty()); | 
|  | 
| -  set_dimensions(size, format); | 
| +  set_dimensions(size, texture_format); | 
| set_id(resource_provider_->CreateResource( | 
| -      size, format, GL_CLAMP_TO_EDGE, hint)); | 
| +      size, GL_CLAMP_TO_EDGE, hint, texture_format)); | 
|  | 
| #ifndef NDEBUG | 
| allocate_thread_id_ = base::PlatformThread::CurrentId(); | 
|  |