[Webkit-unassigned] [Bug 211368] New: Remove some unused and broken functions in Bitmap.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 3 23:22:15 PDT 2020


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

            Bug ID: 211368
           Summary: Remove some unused and broken functions in Bitmap.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mark.lam at apple.com

Bitmap::operator[] never worked.  There's currently no way to use it to read a bit value.  We also can't use it to set a bit value because it relies on Bitmap::iterator::operator= to set the value.  However, Bitmap::iterator stores the Bitmap* as a const pointer, and Bitmap::iterator::operator= calls set() on the const pointer.  If we try to use operator[] to set a bit, we'll get a compilation error.

This patch removes the 2 variants of Bitmap::operator[] and Bitmap::iterator::operator=.

-- 
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/20200504/1704f11f/attachment-0001.htm>


More information about the webkit-unassigned mailing list