Index: ui/display/chromeos/display_configurator.cc |
diff --git a/ui/display/chromeos/display_configurator.cc b/ui/display/chromeos/display_configurator.cc |
index 8b1f1f7c22dcb089d4bc5e6d91f2c7b42543ed35..9012b3fa6af10e1892af63a68f6fa1750627e753 100644 |
--- a/ui/display/chromeos/display_configurator.cc |
+++ b/ui/display/chromeos/display_configurator.cc |
@@ -743,6 +743,17 @@ bool DisplayConfigurator::SetColorCalibrationProfile( |
return false; |
} |
+bool DisplayConfigurator::SetGammaRamp( |
+ int64_t display_id, |
+ const std::vector<GammaRampRGBEntry>& lut) { |
+ for (const DisplaySnapshot* display : cached_displays_) { |
+ if (display->display_id() == display_id) |
+ return native_display_delegate_->SetGammaRamp(*display, lut); |
+ } |
+ |
+ return false; |
+} |
+ |
void DisplayConfigurator::PrepareForExit() { |
configure_display_ = false; |
} |