[Webkit-unassigned] [Bug 226654] New: Replace invalidSnapOffsetIndex with std::optional<unsigned>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 4 11:27:13 PDT 2021


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

            Bug ID: 226654
           Summary: Replace invalidSnapOffsetIndex with
                    std::optional<unsigned>
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Scrolling
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mrobinson at webkit.org
                CC: simon.fraser at apple.com

Using std::optional<unsigned> instead of UINT_MAX to indicate when there is no selected scroll offset will more easily prevent errors in the code.

-- 
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/8b1fe224/attachment.htm>


More information about the webkit-unassigned mailing list