| Index: cc/trees/layer_tree_host_impl.cc
|
| diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
|
| index 0051d95f68e7e3f7fdf3ffebbd74f09ecf87079f..0ca1a7ca2588ba2786e3f5e5a1ee2ec86857a6f6 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -1319,6 +1319,8 @@ void LayerTreeHostImpl::SetIsLikelyToRequireADraw(
|
| }
|
|
|
| gfx::ColorSpace LayerTreeHostImpl::GetRasterColorSpace() const {
|
| + if (!settings_.enable_color_correct_rasterization)
|
| + return gfx::ColorSpace();
|
| if (!sync_tree())
|
| return gfx::ColorSpace::CreateSRGB();
|
| return sync_tree()->raster_color_space();
|
|
|