Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(659)

Unified Diff: ui/ozone/platform/drm/gpu/drm_thread.cc

Issue 2613493002: Fix namespace for src/ui/display/. (Closed)
Patch Set: Fix missed references. Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/ozone/platform/drm/gpu/drm_thread.cc
diff --git a/ui/ozone/platform/drm/gpu/drm_thread.cc b/ui/ozone/platform/drm/gpu/drm_thread.cc
index 9b62a695d89294311075767d85f814f02c2ab2dc..fb9be7e14b2bfb273b993aeb05688e2289fee15f 100644
--- a/ui/ozone/platform/drm/gpu/drm_thread.cc
+++ b/ui/ozone/platform/drm/gpu/drm_thread.cc
@@ -252,23 +252,23 @@ void DrmThread::RemoveGraphicsDevice(const base::FilePath& path) {
void DrmThread::GetHDCPState(
int64_t display_id,
- const base::Callback<void(int64_t, bool, HDCPState)>& callback) {
- HDCPState state = HDCP_STATE_UNDESIRED;
+ const base::Callback<void(int64_t, bool, display::HDCPState)>& callback) {
+ display::HDCPState state = display::HDCP_STATE_UNDESIRED;
bool success = display_manager_->GetHDCPState(display_id, &state);
callback.Run(display_id, success, state);
}
void DrmThread::SetHDCPState(
int64_t display_id,
- HDCPState state,
+ display::HDCPState state,
const base::Callback<void(int64_t, bool)>& callback) {
callback.Run(display_id, display_manager_->SetHDCPState(display_id, state));
}
void DrmThread::SetColorCorrection(
int64_t display_id,
- const std::vector<GammaRampRGBEntry>& degamma_lut,
- const std::vector<GammaRampRGBEntry>& gamma_lut,
+ const std::vector<display::GammaRampRGBEntry>& degamma_lut,
+ const std::vector<display::GammaRampRGBEntry>& gamma_lut,
const std::vector<float>& correction_matrix) {
display_manager_->SetColorCorrection(display_id, degamma_lut, gamma_lut,
correction_matrix);

Powered by Google App Engine
This is Rietveld 408576698