| Index: cc/surfaces/surface_aggregator.h
|
| diff --git a/cc/surfaces/surface_aggregator.h b/cc/surfaces/surface_aggregator.h
|
| index 015e5f45e8855b1ef85dac9e66dbfca95baa1f49..9e7ce6f3109d78379677a47fc08841f33bea2542 100644
|
| --- a/cc/surfaces/surface_aggregator.h
|
| +++ b/cc/surfaces/surface_aggregator.h
|
| @@ -153,11 +153,11 @@ class CC_SURFACES_EXPORT SurfaceAggregator {
|
|
|
| // The color space for the root render pass. If this is different from
|
| // |blending_color_space_|, then a final render pass to convert between
|
| - // the two will be added.
|
| - gfx::ColorSpace output_color_space_;
|
| + // the two will be added. This space must always be valid.
|
| + gfx::ColorSpace output_color_space_ = gfx::ColorSpace::CreateSRGB();
|
| // The color space in which blending is done, used for all non-root render
|
| - // passes.
|
| - gfx::ColorSpace blending_color_space_;
|
| + // passes. This space must always be valid.
|
| + gfx::ColorSpace blending_color_space_ = gfx::ColorSpace::CreateSRGB();
|
| // The id for the final color conversion render pass.
|
| RenderPassId color_conversion_render_pass_id_ = 0;
|
|
|
|
|