Bug 237231

Summary: Drop Ref<>'s operator==() as it is a bit ambiguous / confusing
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: Web Template FrameworkAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, benjamin, cmarcelo, darin, dino, eric.carlson, ews-watchlist, fmalita, ggaren, glenn, gyuyoung.kim, hta, jer.noble, kondapallykalyan, pdr, philipj, sabouhallawa, sam, schenney, sergio, tommyw, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
ews-feeder: commit-queue-
Patch none

Chris Dumez
Reported 2022-02-25 16:16:21 PST
Drop Ref<>'s operator==() as it is a bit ambiguous / confusing. Some people expect it to compare pointers while other expect it to compare the values we hold references to. It seems best to omit this operator and be explicit at call sites.
Attachments
Patch (14.52 KB, patch)
2022-02-25 16:49 PST, Chris Dumez
ews-feeder: commit-queue-
Patch (16.14 KB, patch)
2022-02-25 16:59 PST, Chris Dumez
no flags
Chris Dumez
Comment 1 2022-02-25 16:49:45 PST
Chris Dumez
Comment 2 2022-02-25 16:59:19 PST
EWS
Comment 3 2022-02-26 15:38:09 PST
Committed r290552 (247830@main): <https://commits.webkit.org/247830@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 453277 [details].
Radar WebKit Bug Importer
Comment 4 2022-02-26 15:39:19 PST
Note You need to log in before you can comment on or make changes to this bug.