Bug 122615 - REGRESSION(r157203): WebKit crashes after dispatching gesture event
Summary: REGRESSION(r157203): WebKit crashes after dispatching gesture event
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
Keywords: InRadar
Depends on: 122581
  Show dependency treegraph
Reported: 2013-10-10 13:01 PDT by Ryosuke Niwa
Modified: 2013-10-10 13:04 PDT (History)
4 users (show)

See Also:

Fixes the bug (1.27 KB, patch)
2013-10-10 13:03 PDT, Ryosuke Niwa
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2013-10-10 13:01:04 PDT
EventDispatcher::dispatchEvent(this, gestureEvent.release());

    return gestureEvent->defaultHandled() || gestureEvent->defaultPrevented();

Can't release the event if we're calling method on it later.

Comment 1 Ryosuke Niwa 2013-10-10 13:03:06 PDT
Created attachment 213916 [details]
Fixes the bug
Comment 2 Ryosuke Niwa 2013-10-10 13:04:32 PDT
Committed r157245: <http://trac.webkit.org/changeset/157245>