| Index: cc/output/gl_renderer.cc
|
| diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc
|
| index cb76e74e1456af40bdadeb35a597800259ba5acf..5471f1197fa25e12a215ea50d89c2ff4ce9bc54a 100644
|
| --- a/cc/output/gl_renderer.cc
|
| +++ b/cc/output/gl_renderer.cc
|
| @@ -877,8 +877,8 @@ gfx::Rect GLRenderer::GetBackdropBoundingBoxForRenderPassQuad(
|
|
|
| std::unique_ptr<ScopedResource> GLRenderer::GetBackdropTexture(
|
| const gfx::Rect& bounding_rect) {
|
| - std::unique_ptr<ScopedResource> device_background_texture =
|
| - ScopedResource::Create(resource_provider_);
|
| + auto device_background_texture =
|
| + base::MakeUnique<ScopedResource>(resource_provider_);
|
| // CopyTexImage2D fails when called on a texture having immutable storage.
|
| device_background_texture->Allocate(
|
| bounding_rect.size(), ResourceProvider::TEXTURE_HINT_DEFAULT,
|
|
|