[Webkit-unassigned] [Bug 226613] [Cairo] Fix Path::boundingRectSlowCase when the path is a single MoveTo

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 4 00:43:14 PDT 2021


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

Carlos Garcia Campos <cgarcia at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cgarcia at igalia.com

--- Comment #4 from Carlos Garcia Campos <cgarcia at igalia.com> ---
Comment on attachment 430520
  --> https://bugs.webkit.org/attachment.cgi?id=430520
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=430520&action=review

> Source/WebCore/ChangeLog:7
> +

Could you explain here what's wrong exactly. Are we rendering anything incorrectly? does this fix any test? or can we add a new one?

> Source/WebCore/platform/graphics/cairo/PathCairo.cpp:414
> +    if (m_elements && m_elements.value().size() == 1
> +        && m_elements.value()[0].type == PathElement::Type::MoveToPoint) {

This could be a single line.

-- 
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/20210604/43aa15c6/attachment.htm>


More information about the webkit-unassigned mailing list