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

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

Issue 2378883002: mus ws: Consistently use mojom::Cursor instead of int32_t. (Closed)
Patch Set: Created 4 years, 3 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 | « services/ui/ws/test_utils.cc ('k') | services/ui/ws/window_server.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_manager_state.cc
diff --git a/services/ui/ws/window_manager_state.cc b/services/ui/ws/window_manager_state.cc
index 7dc0ab30c20a689853bf597b4a01ea7256629659..9dfd741b7dceabf9500e33b19ca18091b1852d80 100644
--- a/services/ui/ws/window_manager_state.cc
+++ b/services/ui/ws/window_manager_state.cc
@@ -527,7 +527,7 @@ void WindowManagerState::ReleaseNativeCapture() {
}
void WindowManagerState::UpdateNativeCursorFromDispatcher() {
- int32_t cursor_id = 0;
+ ui::mojom::Cursor cursor_id = mojom::Cursor::CURSOR_NULL;
if (event_dispatcher_.GetCurrentMouseCursor(&cursor_id)) {
for (Display* display : display_manager()->displays())
display->UpdateNativeCursor(cursor_id);
« no previous file with comments | « services/ui/ws/test_utils.cc ('k') | services/ui/ws/window_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698