[Webkit-unassigned] [Bug 64479] RenderObject::containingBlock is a const method but it returns a non-const object

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 7 06:28:34 PDT 2023


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

--- Comment #2 from Darin Adler <darin at apple.com> ---
I am not sure this should be changed. The exact meaning of const for pointers into a tree and tree traversal is unclear to me and I definitely don’t want to create two of each tree traversal function. Many, many other functions like Node::parent and Node::document also work this way. I don’t agree with the premise of this bug report.

-- 
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/20230507/ccbc16b6/attachment-0001.htm>


More information about the webkit-unassigned mailing list