DescriptionOnly unregister touch action handler conditionally
When a RenderObject with a non-default touch action is about to be
destroyed, we remove the fake event handler that implements the touch
action from the event handler registry. However the handler may have
already been removed previously by the host Document (e.g., from
Document::open()), so this code can cause the same handler to get
removed twice.
This patch fixes the issue by only removing the handler conditionally
if it is still there.
BUG=419420
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183743
Patch Set 1 #
Total comments: 3
Patch Set 2 : Forgot expected results from original patch. #Patch Set 3 : Reduced test case. #
Messages
Total messages: 9 (3 generated)
|