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

Unified Diff: ui/display/fake_display_snapshot.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/display/fake_display_snapshot.h ('k') | ui/display/manager/display_layout.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/fake_display_snapshot.cc
diff --git a/ui/display/fake_display_snapshot.cc b/ui/display/fake_display_snapshot.cc
index 1471f5e16558d4eb65b02319d4aab2911e56a4df..e2c274f77bed5fd36b71826fd85988b48a7e14ec 100644
--- a/ui/display/fake_display_snapshot.cc
+++ b/ui/display/fake_display_snapshot.cc
@@ -183,7 +183,7 @@ Builder::Builder() {}
Builder::~Builder() {}
std::unique_ptr<FakeDisplaySnapshot> Builder::Build() {
- if (modes_.empty() || id_ == Display::kInvalidDisplayID) {
+ if (modes_.empty() || id_ == kInvalidDisplayId) {
NOTREACHED() << "Display modes or display ID missing";
return nullptr;
}
« no previous file with comments | « ui/display/fake_display_snapshot.h ('k') | ui/display/manager/display_layout.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698