[Webkit-unassigned] [Bug 230873] Incorrect Length constructor used after blending negative Length

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 4 14:21:40 PDT 2021


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

Antoine Quint <graouts at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #440076|review?                     |review+
              Flags|                            |

--- Comment #5 from Antoine Quint <graouts at webkit.org> ---
Comment on attachment 440076
  --> https://bugs.webkit.org/attachment.cgi?id=440076
Patch

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

> Source/WebCore/platform/Length.cpp:344
> +        LengthType type = from.isZero() ? to.type() : from.type();

You can use `auto` here.

> Source/WebCore/style/StyleBuilderConverter.h:321
> +    Length length = value.computeLength<Length>(conversionData);

You can use `auto` here.

-- 
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/20211004/8a29cee9/attachment-0001.htm>


More information about the webkit-unassigned mailing list