Description~GestureRecognizerImpl() was leaking memory. Now it doesn't. An unfortunate side effect of this leak was that GestureSequence objects hold a pointer to the GR's parent window (helper_) that is no longer valid after the dtor is called. They also hold a callback timer, which fires for a long press...
This CL fixes the crash in issue 139420, but it doesn't fix the full bug. Specifically, the popup menu is still not responding to touch.
BUG=139420
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149957
Patch Set 1 #
Total comments: 4
Patch Set 2 : Also refactored event_queue. #Patch Set 3 : Also refactored TouchEventQueue. #Patch Set 4 : Simplified the CL to call dtor during dtor. #
Total comments: 3
Patch Set 5 : Revised as per sky's review. #Messages
Total messages: 12 (0 generated)
|