| 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 5bfd300482594c8f1690595ff918f1c1be176edc..b7bf08f2b9ba2e92eb85d0f878bd2eec8bd9ebcf 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -1346,6 +1346,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();
|
|
|