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

Unified Diff: ui/views/mus/screen_mus.cc

Issue 2519993002: Move kInvalidDisplayID to display_constants.h. (Closed)
Patch Set: Address comments. Created 4 years, 1 month 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
« no previous file with comments | « ui/ozone/platform/drm/host/drm_window_host.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/screen_mus.cc
diff --git a/ui/views/mus/screen_mus.cc b/ui/views/mus/screen_mus.cc
index 9b91e79a270102dabd2c1b094161356e56040639..f9350d2a7028c6a0a4a7c28a55c87a573a0cec0e 100644
--- a/ui/views/mus/screen_mus.cc
+++ b/ui/views/mus/screen_mus.cc
@@ -114,7 +114,7 @@ void ScreenMus::OnDisplays(std::vector<ui::mojom::WsDisplayPtr> ws_displays,
DCHECK(display_list().GetPrimaryDisplayIterator() !=
display_list().displays().end());
- if (internal_display_id != display::Display::kInvalidDisplayID)
+ if (internal_display_id != display::kInvalidDisplayId)
display::Display::SetInternalDisplayId(internal_display_id);
DCHECK(!display_list().displays().empty());
@@ -145,7 +145,7 @@ void ScreenMus::OnDisplayRemoved(int64_t display_id) {
void ScreenMus::OnPrimaryDisplayChanged(int64_t primary_display_id) {
// TODO(kylechar): DisplayList would need to change to handle having no
// primary display.
- if (primary_display_id == display::Display::kInvalidDisplayID)
+ if (primary_display_id == display::kInvalidDisplayId)
return;
ProcessDisplayChanged(*display_list().FindDisplayById(primary_display_id),
« no previous file with comments | « ui/ozone/platform/drm/host/drm_window_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698