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

Unified Diff: ash/mus/property_util.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 | « ash/host/ash_window_tree_host_x11.cc ('k') | ash/root_window_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/property_util.cc
diff --git a/ash/mus/property_util.cc b/ash/mus/property_util.cc
index 9aa2a9f302be21f12d58b2b0fedade91f8f00b4e..2f55d99ee991db38a64071986c1a3ac4c9235834 100644
--- a/ash/mus/property_util.cc
+++ b/ash/mus/property_util.cc
@@ -10,6 +10,7 @@
#include "services/ui/public/cpp/property_type_converters.h"
#include "services/ui/public/cpp/window_property.h"
#include "services/ui/public/interfaces/window_manager.mojom.h"
+#include "ui/display/types/display_constants.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/size.h"
@@ -262,7 +263,7 @@ bool ShouldRenderParentTitleArea(ui::Window* window) {
int64_t GetInitialDisplayId(const ui::Window::SharedProperties& properties) {
auto iter =
properties.find(ui::mojom::WindowManager::kInitialDisplayId_Property);
- return iter == properties.end() ? display::Display::kInvalidDisplayID
+ return iter == properties.end() ? display::kInvalidDisplayId
: mojo::ConvertTo<int64_t>(iter->second);
}
« no previous file with comments | « ash/host/ash_window_tree_host_x11.cc ('k') | ash/root_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698