Bug 266531
Summary: | Move RenderElementType to RenderObject to simplify and devirtualize type checks | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
Component: | Layout and Rendering | Assignee: | Ryosuke Niwa <rniwa> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bfulgham, simon.fraser, webkit-bug-importer, zalan |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari Technology Preview | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Ryosuke Niwa
Move OptionSet<RenderElementType> to RenderObject, add more flags to devirtualize more type checks.
Also simplify isRenderLayerModelObject, isRenderBoxModelObject, etc... by eliminating is<RenderElement>(*this) check.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ryosuke Niwa
Pull request: https://github.com/WebKit/WebKit/pull/21920
EWS
Committed 272195@main (5b7421b95b8c): <https://commits.webkit.org/272195@main>
Reviewed commits have been landed. Closing PR #21920 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/119785881>