Bug 311871
| Summary: | Introduce convertRectsToMainFrameCoordinates for batching multiple rect conversions | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | zak ridouh <zakr> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
zak ridouh
convertRectToMainFrameCoordinates converts a single rect from a subframe's
coordinate space to the main frame via a recursive IPC chain (one round-trip
per frame level). Callers that need to convert multiple rects from the same
frame must make separate sequential calls, each incurring their own IPC
round-trips.
Introduce a batch variant `convertRectsToMainFrameCoordinates`that
converts a Vector<FloatRect> in a single IPC call per frame level. A new
ContentsToRootViewRects IPC message handles the WebProcess side by iterating
the vector through the existing contentsToRootView template.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
zak ridouh
<rdar://174444821>
Radar WebKit Bug Importer
<rdar://problem/174446469>
zak ridouh
Pull request: https://github.com/WebKit/WebKit/pull/62394
EWS
Committed 311135@main (3b2eaabb33ce): <https://commits.webkit.org/311135@main>
Reviewed commits have been landed. Closing PR #62394 and removing active labels.