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

Issue 450413002: Do not dispatch gestures to a NULL aura::Window target (Closed)

Created:
6 years, 4 months ago by tdanderson
Modified:
6 years, 4 months ago
Reviewers:
sadrul, tdresser
CC:
chromium-reviews, sadrul, ben+aura_chromium.org, kalyank
Project:
chromium
Visibility:
Public.

Description

Do not dispatch gestures to a NULL aura::Window target It is possible for the gesture recognizer to report a NULL target for a gesture event, in which case we should not attempt event dispatch. An early return already exists in WindowEventDispatcher::DispatchGestureEvent() to guard against this possibility, so add a similar check to WindowEventDispatcher::ProcessGestures(). BUG=384962 TEST=WindowEventDispatcherTest.CallToProcessedTouchEvent Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289152

Patch Set 1 #

Patch Set 2 : test added #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -0 lines) Patch
M ui/aura/window_event_dispatcher.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/aura/window_event_dispatcher_unittest.cc View 1 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
tdanderson
Tim and Sadrul, what do you think? This looks like it should fix the crash ...
6 years, 4 months ago (2014-08-08 17:48:59 UTC) #1
tdresser
On 2014/08/08 17:48:59, tdanderson wrote: > Tim and Sadrul, what do you think? This looks ...
6 years, 4 months ago (2014-08-08 18:04:35 UTC) #2
tdresser
On 2014/08/08 18:04:35, tdresser wrote: > On 2014/08/08 17:48:59, tdanderson wrote: > > Tim and ...
6 years, 4 months ago (2014-08-08 19:36:54 UTC) #3
sadrul
Can you write a test for this?
6 years, 4 months ago (2014-08-08 19:42:05 UTC) #4
tdanderson
On 2014/08/08 19:42:05, sadrul wrote: > Can you write a test for this? Actually, it ...
6 years, 4 months ago (2014-08-11 20:04:33 UTC) #5
tdanderson
On 2014/08/11 20:04:33, tdanderson wrote: > On 2014/08/08 19:42:05, sadrul wrote: > > Can you ...
6 years, 4 months ago (2014-08-12 21:19:12 UTC) #6
sadrul
lgtm
6 years, 4 months ago (2014-08-12 21:20:50 UTC) #7
tdanderson
The CQ bit was checked by tdanderson@chromium.org
6 years, 4 months ago (2014-08-12 21:21:30 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdanderson@chromium.org/450413002/20001
6 years, 4 months ago (2014-08-12 21:26:26 UTC) #9
commit-bot: I haz the power
6 years, 4 months ago (2014-08-13 01:41:40 UTC) #10
Message was sent while issue was closed.
Change committed as 289152

Powered by Google App Engine
This is Rietveld 408576698