| Index: ash/display/display_change_observer_chromeos.cc
|
| diff --git a/ash/display/display_change_observer_chromeos.cc b/ash/display/display_change_observer_chromeos.cc
|
| index 461b7be37fb6c7235fac9dd3fac67f4c697978db..dae75ae56b17d9e8751255a5649d48e7eecebd07 100644
|
| --- a/ash/display/display_change_observer_chromeos.cc
|
| +++ b/ash/display/display_change_observer_chromeos.cc
|
| @@ -165,8 +165,10 @@ void DisplayChangeObserver::OnDisplayModeChanged(
|
| displays.back().set_touch_support(
|
| output.touch_device_id == 0 ? gfx::Display::TOUCH_SUPPORT_UNAVAILABLE :
|
| gfx::Display::TOUCH_SUPPORT_AVAILABLE);
|
| - displays.back().set_available_color_profiles(
|
| - output.available_color_profiles);
|
| + std::vector<ui::ColorCalibrationProfile> available_profiles;
|
| + Shell::GetInstance()->output_configurator()->
|
| + GetAvailableColorCalibrationProfiles(id, &available_profiles);
|
| + displays.back().set_available_color_profiles(available_profiles);
|
| }
|
|
|
| // DisplayManager can be null during the boot.
|
|
|