[Webkit-unassigned] [Bug 269429] Use enum class for SVG Angle Types as suggested in 274778 at main

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 16 05:49:24 PDT 2024


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

--- Comment #4 from Karl Dubost <karlcow at apple.com> ---
    ExceptionOr<void> newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits);

https://github.com/WebKit/WebKit/blob/84cc6561cbc81c2b2cb3bc36e8d704b78ffe635a/Source/WebCore/svg/SVGAngleValue.h#L54-L55


newValueSpecifiedUnits is expecting a "unsigned short unitType"
but not the enum declaration. 

so probably the types need to be aligned everywhere in the code, whichever is chosen.

-- 
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/20240916/c6c048f1/attachment.htm>


More information about the webkit-unassigned mailing list