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

Issue 294033016: Fix crash on key events in touchview. (Closed)

Created:
6 years, 7 months ago by flackr
Modified:
6 years, 7 months ago
Reviewers:
sadrul
CC:
chromium-reviews, kalyank, sadrul, ben+ash_chromium.org
Visibility:
Public.

Description

Fix crash on key events in touchview. BUG=362881 TEST=Key events no longer crash in touchview. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272778

Patch Set 1 #

Total comments: 3

Patch Set 2 : Check for non GenericEvent event type. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M ash/wm/maximize_mode/internal_input_device_list_x11.cc View 1 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
flackr
Hey, there's a crash because key events are not XI2 events. Is just checking IsKeyEvent ...
6 years, 7 months ago (2014-05-23 17:17:05 UTC) #1
sadrul
https://codereview.chromium.org/294033016/diff/1/ash/wm/maximize_mode/internal_input_device_list_x11.cc File ash/wm/maximize_mode/internal_input_device_list_x11.cc (right): https://codereview.chromium.org/294033016/diff/1/ash/wm/maximize_mode/internal_input_device_list_x11.cc#newcode51 ash/wm/maximize_mode/internal_input_device_list_x11.cc:51: XIDeviceEvent* xiev = static_cast<XIDeviceEvent*>( CHECK that event->native_event()->type == GenericEvent ...
6 years, 7 months ago (2014-05-23 17:21:56 UTC) #2
sadrul
https://codereview.chromium.org/294033016/diff/1/ash/wm/maximize_mode/internal_input_device_list_x11.cc File ash/wm/maximize_mode/internal_input_device_list_x11.cc (right): https://codereview.chromium.org/294033016/diff/1/ash/wm/maximize_mode/internal_input_device_list_x11.cc#newcode51 ash/wm/maximize_mode/internal_input_device_list_x11.cc:51: XIDeviceEvent* xiev = static_cast<XIDeviceEvent*>( On 2014/05/23 17:21:57, sadrul wrote: ...
6 years, 7 months ago (2014-05-23 17:22:34 UTC) #3
flackr
https://codereview.chromium.org/294033016/diff/1/ash/wm/maximize_mode/internal_input_device_list_x11.cc File ash/wm/maximize_mode/internal_input_device_list_x11.cc (right): https://codereview.chromium.org/294033016/diff/1/ash/wm/maximize_mode/internal_input_device_list_x11.cc#newcode51 ash/wm/maximize_mode/internal_input_device_list_x11.cc:51: XIDeviceEvent* xiev = static_cast<XIDeviceEvent*>( On 2014/05/23 17:22:34, sadrul wrote: ...
6 years, 7 months ago (2014-05-23 17:30:28 UTC) #4
flackr
Updated issue title to be more specific.
6 years, 7 months ago (2014-05-23 17:59:24 UTC) #5
sadrul
lgtm
6 years, 7 months ago (2014-05-23 18:45:19 UTC) #6
flackr
The CQ bit was checked by flackr@chromium.org
6 years, 7 months ago (2014-05-23 18:46:12 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/294033016/20001
6 years, 7 months ago (2014-05-23 18:47:53 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-23 23:34:56 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-24 02:32:01 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/builds/19562)
6 years, 7 months ago (2014-05-24 02:32:02 UTC) #11
flackr
The CQ bit was checked by flackr@chromium.org
6 years, 7 months ago (2014-05-25 02:11:33 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/294033016/20001
6 years, 7 months ago (2014-05-25 02:11:38 UTC) #13
commit-bot: I haz the power
6 years, 7 months ago (2014-05-26 04:04:06 UTC) #14
Message was sent while issue was closed.
Change committed as 272778

Powered by Google App Engine
This is Rietveld 408576698