WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
Bug 235680
const/non-const and inclusive/non-inclusive shared code improvements for RenderDescendantIterator adapters
https://bugs.webkit.org/show_bug.cgi?id=235680
Summary
const/non-const and inclusive/non-inclusive shared code improvements for Rend...
Gabriel Nava Marino
Reported
2022-01-26 16:21:09 PST
As pointed out in
https://bugs.webkit.org/show_bug.cgi?id=234018#c28
: To avoid code duplication, we should find a way to share code between the non-inclusive and inclusive RenderDescendantIteratorAdapters, since the non-inclusive case is just like inclusive case, but just skipping the thing itself. We should also find a way to support a const reference for descendantsOfType, similarly in a way that avoids duplicating all the code twice, such as by using some const_cast in the implementation.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-02-02 16:22:15 PST
<
rdar://problem/88407384
>
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