| 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 5bbe7ff77f55811d7157b9976efa6db06ebf2cf5..731ce18a3ad6a638ef6fa622e41066dd74a5eb4e 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -1329,6 +1329,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();
|
|
|