| Index: cc/surfaces/surface_aggregator.cc
|
| diff --git a/cc/surfaces/surface_aggregator.cc b/cc/surfaces/surface_aggregator.cc
|
| index 82bc5003a195841ab83949557d06f72502e2b0d3..cb0742704da8957852b5eb652580a64f84693482 100644
|
| --- a/cc/surfaces/surface_aggregator.cc
|
| +++ b/cc/surfaces/surface_aggregator.cc
|
| @@ -208,7 +208,7 @@ void SurfaceAggregator::HandleSurfaceQuad(
|
|
|
| copy_pass->SetAll(remapped_pass_id, source.output_rect, source.output_rect,
|
| source.transform_to_root_target, source.filters,
|
| - source.background_filters,
|
| + source.background_filters, output_color_space_,
|
| source.has_transparent_background);
|
|
|
| MoveMatchingRequests(source.id, ©_requests, ©_pass->copy_requests);
|
| @@ -475,7 +475,7 @@ void SurfaceAggregator::CopyPasses(const CompositorFrame& frame,
|
|
|
| copy_pass->SetAll(remapped_pass_id, source.output_rect, source.output_rect,
|
| source.transform_to_root_target, source.filters,
|
| - source.background_filters,
|
| + source.background_filters, output_color_space_,
|
| source.has_transparent_background);
|
|
|
| CopyQuadsToPass(source.quad_list, source.shared_quad_state_list,
|
| @@ -848,4 +848,9 @@ void SurfaceAggregator::SetFullDamageForSurface(const SurfaceId& surface_id) {
|
| it->second = 0;
|
| }
|
|
|
| +void SurfaceAggregator::SetOutputColorSpace(
|
| + const gfx::ColorSpace& output_color_space) {
|
| + output_color_space_ = output_color_space;
|
| +}
|
| +
|
| } // namespace cc
|
|
|