| Index: cc/output/direct_renderer.cc
|
| diff --git a/cc/output/direct_renderer.cc b/cc/output/direct_renderer.cc
|
| index 61865b1da829dca1893a655be79e9c2411a6c353..a6de95ed7960aca8add9b4abe99ddf3098025fed 100644
|
| --- a/cc/output/direct_renderer.cc
|
| +++ b/cc/output/direct_renderer.cc
|
| @@ -552,7 +552,8 @@ bool DirectRenderer::UseRenderPass(DrawingFrame* frame,
|
| if (!texture->id()) {
|
| texture->Allocate(size,
|
| ResourceProvider::TEXTURE_HINT_IMMUTABLE_FRAMEBUFFER,
|
| - resource_provider_->best_texture_format());
|
| + resource_provider_->best_texture_format(),
|
| + output_surface_->device_color_space());
|
| }
|
| DCHECK(texture->id());
|
|
|
|
|