Index: ui/display/chromeos/display_configurator.cc |
diff --git a/ui/display/chromeos/display_configurator.cc b/ui/display/chromeos/display_configurator.cc |
index 50518c27b7752ffa9fbe8119c072befaa7293d60..93afee24d063b52d409922d4fd0cd5d65454e5eb 100644 |
--- a/ui/display/chromeos/display_configurator.cc |
+++ b/ui/display/chromeos/display_configurator.cc |
@@ -823,12 +823,15 @@ bool DisplayConfigurator::SetColorCalibrationProfile( |
return false; |
} |
-bool DisplayConfigurator::SetGammaRamp( |
+bool DisplayConfigurator::SetColorCorrection( |
int64_t display_id, |
- const std::vector<GammaRampRGBEntry>& lut) { |
+ const std::vector<GammaRampRGBEntry>& degamma_lut, |
+ const std::vector<GammaRampRGBEntry>& gamma_lut, |
+ const std::vector<float>& correction_matrix) { |
for (const DisplaySnapshot* display : cached_displays_) { |
if (display->display_id() == display_id) |
- return native_display_delegate_->SetGammaRamp(*display, lut); |
+ return native_display_delegate_->SetColorCorrection( |
+ *display, degamma_lut, gamma_lut, correction_matrix); |
} |
return false; |