| 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 b76161844356e48cd944128227baba5103aff2ce..7e01d048e6a7017cb3d66ef90ce8c4f72e9cb9f7 100644
|
| --- a/ui/views/corewm/compound_event_filter.cc
|
| +++ b/ui/views/corewm/compound_event_filter.cc
|
| @@ -185,7 +185,6 @@ void CompoundEventFilter::FilterTouchEvent(ui::TouchEvent* event) {
|
| void CompoundEventFilter::SetCursorVisibilityOnEvent(aura::Window* target,
|
| ui::Event* event,
|
| bool show) {
|
| - DCHECK(ShouldHideCursorOnTouch());
|
| if (event->flags() & ui::EF_IS_SYNTHESIZED)
|
| return;
|
|
|
| @@ -254,10 +253,8 @@ void CompoundEventFilter::OnMouseEvent(ui::MouseEvent* event) {
|
| event->type() == ui::ET_MOUSE_MOVED ||
|
| event->type() == ui::ET_MOUSE_PRESSED ||
|
| event->type() == ui::ET_MOUSEWHEEL) {
|
| - if (ShouldHideCursorOnTouch()) {
|
| - SetMouseEventsEnableStateOnEvent(window, event, true);
|
| - SetCursorVisibilityOnEvent(window, event, true);
|
| - }
|
| + SetMouseEventsEnableStateOnEvent(window, event, true);
|
| + SetCursorVisibilityOnEvent(window, event, true);
|
| UpdateCursor(window, event);
|
| }
|
|
|
|
|