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

Unified Diff: components/mus/ws/display.cc

Issue 1869463002: Set last cursor default to kCursorNone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix-cursor
Patch Set: Rebase Created 4 years, 8 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/display.cc
diff --git a/components/mus/ws/display.cc b/components/mus/ws/display.cc
index f8582f65e1902057421e986d1a397ff2cd078662..cc80ec546f4ded4263d2e3bec38def27423be1fc 100644
--- a/components/mus/ws/display.cc
+++ b/components/mus/ws/display.cc
@@ -21,6 +21,7 @@
#include "mojo/common/common_type_converters.h"
#include "mojo/converters/geometry/geometry_type_converters.h"
#include "mojo/shell/public/interfaces/connector.mojom.h"
+#include "ui/base/cursor/cursor.h"
namespace mus {
namespace ws {
@@ -30,7 +31,7 @@ Display::Display(WindowServer* window_server,
: id_(window_server->display_manager()->GetAndAdvanceNextDisplayId()),
window_server_(window_server),
platform_display_(PlatformDisplay::Create(platform_display_init_params)),
- last_cursor_(0) {
+ last_cursor_(ui::kCursorNone) {
platform_display_->Init(this);
window_server_->window_manager_factory_registry()->AddObserver(this);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698