| Index: ash/display/display_manager.cc
|
| diff --git a/ash/display/display_manager.cc b/ash/display/display_manager.cc
|
| index c5484280d0e8d1d3a603f2caee63c8720cbe7c8a..8c02f44e7a1e7e900c2a980536f363370e243cb7 100644
|
| --- a/ash/display/display_manager.cc
|
| +++ b/ash/display/display_manager.cc
|
| @@ -508,6 +508,9 @@ void DisplayManager::SetColorCalibrationProfile(
|
| int64 display_id,
|
| ui::ColorCalibrationProfile profile) {
|
| #if defined(OS_CHROMEOS)
|
| + if (!display_info_[display_id].IsColorProfileAvailable(profile))
|
| + return;
|
| +
|
| if (delegate_)
|
| delegate_->PreDisplayConfigurationChange(false);
|
| if (Shell::GetInstance()->output_configurator()->SetColorCalibrationProfile(
|
|
|