[Webkit-unassigned] [Bug 153741] REGRESSION(r195899): ASSERTION FAILED: is<Target>(source) in EventPath::retargetTouch() since r195899

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 1 08:34:05 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=153741

--- Comment #3 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to comment #2)
> Comment on attachment 270384 [details]
> Fix an EventContext downcast.
> 
> I didn't look closely at this, but I'm suspicious that there is a downcast
> there if the result of the downcast can be changed without breaking the
> build....

MouseOrFocusEventContext also derives from EventContext, so the cast is valid form the compiler point of view. That's why we have the type traits thing to check the cast is valid at runtime. It ended up calling EventContext::isMouseOrFocusEventContext() that return false, because the concrete type in this case is TouchEventContext.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160201/499535c1/attachment.html>


More information about the webkit-unassigned mailing list