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=.
Created attachment 398348 [details] proposed patch.
Comment on attachment 398348 [details] proposed patch. r=me
Thanks for the review. Landed in r261073: <http://trac.webkit.org/r261073>.
<rdar://problem/62834067>