| Index: ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.cc
|
| diff --git a/ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.cc b/ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.cc
|
| index d8e847c1de72d606da7a3806f8cc263beed81e23..b57c28d67c2f42543570b7809491ce05ce3097ae 100644
|
| --- a/ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.cc
|
| +++ b/ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.cc
|
| @@ -72,7 +72,6 @@ ScopedDisableInternalMouseAndKeyboardX11::
|
| keyboard_device_id_(kDeviceIdNone),
|
| core_keyboard_device_id_(kDeviceIdNone),
|
| last_mouse_location_(GetMouseLocationInScreen()) {
|
| -
|
| ui::DeviceDataManagerX11* device_data_manager =
|
| ui::DeviceDataManagerX11::GetInstance();
|
| if (device_data_manager->IsXInput2Available()) {
|
| @@ -136,15 +135,13 @@ ScopedDisableInternalMouseAndKeyboardX11::
|
| }
|
|
|
| void ScopedDisableInternalMouseAndKeyboardX11::WillProcessEvent(
|
| - const ui::PlatformEvent& event) {
|
| -}
|
| + const ui::PlatformEvent& event) {}
|
|
|
| void ScopedDisableInternalMouseAndKeyboardX11::DidProcessEvent(
|
| const ui::PlatformEvent& event) {
|
| if (event->type != GenericEvent)
|
| return;
|
| - XIDeviceEvent* xievent =
|
| - static_cast<XIDeviceEvent*>(event->xcookie.data);
|
| + XIDeviceEvent* xievent = static_cast<XIDeviceEvent*>(event->xcookie.data);
|
| ui::DeviceDataManagerX11* device_data_manager =
|
| static_cast<ui::DeviceDataManagerX11*>(
|
| ui::DeviceDataManager::GetInstance());
|
|
|