| Index: cc/resources/prioritized_resource_manager.cc
|
| diff --git a/cc/resources/prioritized_resource_manager.cc b/cc/resources/prioritized_resource_manager.cc
|
| index e0b5dca138e0b46522493787e28ddad3a58c2d07..1a6e545a1a5f0ff1766a3c49322ab2f859cb7524 100644
|
| --- a/cc/resources/prioritized_resource_manager.cc
|
| +++ b/cc/resources/prioritized_resource_manager.cc
|
| @@ -449,13 +449,16 @@ void PrioritizedResourceManager::ReturnBackingTexture(
|
|
|
| PrioritizedResource::Backing* PrioritizedResourceManager::CreateBacking(
|
| gfx::Size size,
|
| - GLenum format,
|
| + ResourceFormat format,
|
| ResourceProvider* resource_provider) {
|
| DCHECK(proxy_->IsImplThread() && proxy_->IsMainThreadBlocked());
|
| DCHECK(resource_provider);
|
| ResourceProvider::ResourceId resource_id =
|
| resource_provider->CreateManagedResource(
|
| - size, format, GL_CLAMP_TO_EDGE, ResourceProvider::TextureUsageAny);
|
| + size,
|
| + GL_CLAMP_TO_EDGE,
|
| + ResourceProvider::TextureUsageAny,
|
| + format);
|
| PrioritizedResource::Backing* backing = new PrioritizedResource::Backing(
|
| resource_id, resource_provider, size, format);
|
| memory_use_bytes_ += backing->bytes();
|
|
|