| Index: ui/events/x/events_x_utils.cc
|
| diff --git a/ui/events/x/events_x_utils.cc b/ui/events/x/events_x_utils.cc
|
| index aab272373068313cf5ae95cd5fbb27b34fa12287..bbe23b7cc5407b8dda1bc0043e6ad61dbfd0158c 100644
|
| --- a/ui/events/x/events_x_utils.cc
|
| +++ b/ui/events/x/events_x_utils.cc
|
| @@ -360,8 +360,7 @@ EventType EventTypeFromXEvent(const XEvent& xev) {
|
| // ET_UNKNOWN as the type so this event will not be further processed.
|
| // NOTE: During some events unittests there is no device data manager.
|
| if (DeviceDataManager::HasInstance() &&
|
| - static_cast<DeviceDataManagerX11*>(DeviceDataManager::GetInstance())
|
| - ->IsEventBlocked(xev)) {
|
| + DeviceDataManagerX11::GetInstance()->IsEventBlocked(xev)) {
|
| return ET_UNKNOWN;
|
| }
|
|
|
|
|