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

Unified Diff: services/ui/ws/test_utils.cc

Issue 2523723002: Update display::Display::kInvalidDisplayID constant. (Closed)
Patch Set: Fix includes. 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 | « services/ui/ws/test_utils.h ('k') | services/ui/ws/user_display_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/test_utils.cc
diff --git a/services/ui/ws/test_utils.cc b/services/ui/ws/test_utils.cc
index cb4d7e45d86cbcc18e698e8571dae72119076495..d09e1d742e7c9440c8208897ceeae9624d8add48 100644
--- a/services/ui/ws/test_utils.cc
+++ b/services/ui/ws/test_utils.cc
@@ -107,7 +107,7 @@ int64_t TestPlatformScreen::AddDisplay(
delegate_->OnDisplayAdded(display_id, metrics);
// First display added will be the primary display.
- if (primary_display_id_ == display::Display::kInvalidDisplayID) {
+ if (primary_display_id_ == display::kInvalidDisplayId) {
primary_display_id_ = display_id;
delegate_->OnPrimaryDisplayChanged(display_id);
}
@@ -132,7 +132,7 @@ void TestPlatformScreen::Init(display::PlatformScreenDelegate* delegate) {
// Reset
delegate_ = delegate;
display_ids_.clear();
- primary_display_id_ = display::Display::kInvalidDisplayID;
+ primary_display_id_ = display::kInvalidDisplayId;
}
int64_t TestPlatformScreen::GetPrimaryDisplayId() const {
« no previous file with comments | « services/ui/ws/test_utils.h ('k') | services/ui/ws/user_display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698