| Summary: | WTF::SentinelLinkedList::iterator should have operator++ for range-for loop | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Fujii Hironori <Hironori.Fujii> | ||||||||||
| Component: | Web Template Framework | Assignee: | Fujii Hironori <Hironori.Fujii> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | benjamin, cdumez, cmarcelo, ews-watchlist, fpizlo, keith_miller, mark.lam, msaboff, saam, tzagallo, webkit-bug-importer, ysuzuki | ||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||
| Version: | WebKit Nightly Build | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Fujii Hironori
2022-02-27 22:01:43 PST
Created attachment 453366 [details]
Patch
Created attachment 453381 [details]
Patch
Created attachment 453382 [details]
Patch
Comment on attachment 453382 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=453382&action=review r=me > Source/WTF/wtf/SentinelLinkedList.h:89 > + BaseIterator(RawNodeType* node) Let's make it `explicit` constructor. Comment on attachment 453382 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=453382&action=review Thank you very much for the review. >> Source/WTF/wtf/SentinelLinkedList.h:89 >> + BaseIterator(RawNodeType* node) > > Let's make it `explicit` constructor. It's a good idea. But, I did this because there are some existing code assuming an iterator can compare with a node pointer. But, It seeds a bad idea comparing an iterator without deference. I'm going to rewrite them. Created attachment 453534 [details]
Patch for landing
Comment on attachment 453534 [details] Patch for landing Clearing flags on attachment: 453534 Committed r290705 (247954@trunk): <https://commits.webkit.org/247954@trunk> All reviewed patches have been landed. Closing bug. |