WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
211368
Remove some unused and broken functions in Bitmap.
https://bugs.webkit.org/show_bug.cgi?id=211368
Summary
Remove some unused and broken functions in Bitmap.
Mark Lam
Reported
2020-05-03 23:22:15 PDT
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=.
Attachments
proposed patch.
(2.82 KB, patch)
2020-05-03 23:34 PDT
,
Mark Lam
ysuzuki
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Mark Lam
Comment 1
2020-05-03 23:34:12 PDT
Created
attachment 398348
[details]
proposed patch.
Yusuke Suzuki
Comment 2
2020-05-04 00:01:25 PDT
Comment on
attachment 398348
[details]
proposed patch. r=me
Mark Lam
Comment 3
2020-05-04 00:15:58 PDT
Thanks for the review. Landed in
r261073
: <
http://trac.webkit.org/r261073
>.
Radar WebKit Bug Importer
Comment 4
2020-05-04 00:16:15 PDT
<
rdar://problem/62834067
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug