[Webkit-unassigned] [Bug 222620] Crash in previousSibling

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 3 14:18:59 PST 2021


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

--- Comment #7 from Ryosuke Niwa <rniwa at webkit.org> ---
(In reply to Chris Dumez from comment #6)
> Comment on attachment 422000 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=422000&action=review
> 
> >> Source/WebCore/editing/ApplyBlockElementCommand.cpp:294
> >> +            if (previousSiblingOfText && is<Text>(*text->previousSibling())
> > 
> > is<Text>(*text->previousSibling()) -> is<Text>(is<Text>(*text->previousSibling()))
> 
> Did you mean:
> `if (is<Text>(previousSiblingOfText))`
> ?

Ugh... yes, copy & paste error.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210303/d782619e/attachment.htm>


More information about the webkit-unassigned mailing list