Index: ui/views/corewm/compound_event_filter.cc |
diff --git a/ui/views/corewm/compound_event_filter.cc b/ui/views/corewm/compound_event_filter.cc |
index fe83efd8f2b8697cd91e66e93c83242237482301..a9d18078c9ac495e3a4cfb46771054c726be1205 100644 |
--- a/ui/views/corewm/compound_event_filter.cc |
+++ b/ui/views/corewm/compound_event_filter.cc |
@@ -182,11 +182,11 @@ void CompoundEventFilter::SetCursorVisibilityOnEvent(aura::Window* target, |
if (client) { |
if (show && cursor_hidden_by_filter_) { |
cursor_hidden_by_filter_ = false; |
- client->ShowCursor(true); |
+ client->EnableCursor(true); |
} else if (client->IsCursorVisible() && !show && |
!cursor_hidden_by_filter_) { |
cursor_hidden_by_filter_ = true; |
- client->ShowCursor(false); |
+ client->EnableCursor(false); |
} |
} |
} |