| Index: cc/surfaces/display.cc
|
| diff --git a/cc/surfaces/display.cc b/cc/surfaces/display.cc
|
| index 3709cabb79530490977055028e80983d7c47b854..0f0b91bbf21d3e382b68f82fb644cf6b03afd450 100644
|
| --- a/cc/surfaces/display.cc
|
| +++ b/cc/surfaces/display.cc
|
| @@ -128,6 +128,10 @@ void Display::Resize(const gfx::Size& size) {
|
| scheduler_->DisplayResized();
|
| }
|
|
|
| +void Display::SetColorProfile(const gfx::ColorProfile& color_profile) {
|
| + device_color_profile_ = color_profile;
|
| +}
|
| +
|
| void Display::SetExternalClip(const gfx::Rect& clip) {
|
| external_clip_ = clip;
|
| }
|
| @@ -291,7 +295,8 @@ bool Display::DrawAndSwap() {
|
| renderer_->DecideRenderPassAllocationsForFrame(
|
| frame_data->render_pass_list);
|
| renderer_->DrawFrame(&frame_data->render_pass_list, device_scale_factor_,
|
| - device_viewport_rect, device_clip_rect,
|
| + device_color_profile_, device_viewport_rect,
|
| + device_clip_rect,
|
| disable_picture_quad_image_filtering);
|
| } else {
|
| TRACE_EVENT_INSTANT0("cc", "Draw skipped.", TRACE_EVENT_SCOPE_THREAD);
|
|
|