[Webkit-unassigned] [Bug 174594] New: Cleanup: Use OptionSet to represent marker types

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 17 14:23:13 PDT 2017


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

            Bug ID: 174594
           Summary: Cleanup: Use OptionSet to represent marker types
           Product: WebKit
           Version: WebKit Local Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dbates at webkit.org

Class DocumentMarker::MarkerTypes represents bitmask of marker types and duplicates most of the functionality of OptionSet. Unlike OptionSet, DocumentMarker::MarkerTypes does not support iteration and hence code, such as AlternativeTextController::applyAlternativeTextToRange(), uses Vector<DocumentMarker::MarkerType> to represent a set of marker types. We can use OptionSet to support both uses cases in a space- and time- efficient manner.

-- 
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/20170717/4a3ab889/attachment-0001.html>


More information about the webkit-unassigned mailing list