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

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

Issue 2519993002: Move kInvalidDisplayID to display_constants.h. (Closed)
Patch Set: Add comment. 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
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..92b26bda113c30af7d92afb532823003956dfc1d 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),
« ui/display/types/display_constants.h ('K') | « 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