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

Unified Diff: services/ui/ws/window_tree_unittest.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/window_tree.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_tree_unittest.cc
diff --git a/services/ui/ws/window_tree_unittest.cc b/services/ui/ws/window_tree_unittest.cc
index 9cddc174206cca41dc29a39838eadd0e3d95152b..b40f65927b9bb11f514ed6a67929da2438a684ce 100644
--- a/services/ui/ws/window_tree_unittest.cc
+++ b/services/ui/ws/window_tree_unittest.cc
@@ -131,8 +131,7 @@ class WindowTreeTest : public testing::Test {
~WindowTreeTest() override {}
ui::mojom::Cursor cursor_id() {
- return static_cast<ui::mojom::Cursor>(
- window_event_targeting_helper_.cursor_id());
+ return window_event_targeting_helper_.cursor();
}
Display* display() { return window_event_targeting_helper_.display(); }
TestWindowTreeBinding* last_binding() {
« no previous file with comments | « services/ui/ws/window_tree.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698