Commit 2f87d29
committed
AX: Every hit-test does one more main-thread round-trip than is necessary
https://bugs.webkit.org/show_bug.cgi?id=294212
rdar://152851160
Reviewed by Joshua Hoffman.
Prior to this commit, we did one main-thread trip to convert the point, and then a separate one to actually do the hit
test. Combine this into one main-thread trip.
* Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectMac.mm:
(-[WKAccessibilityWebPageObject accessibilityHitTest:]):
Canonical link: https://commits.webkit.org/296024@main1 parent 965167c commit 2f87d29
1 file changed
Lines changed: 6 additions & 10 deletions
Lines changed: 6 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
341 | 339 | | |
342 | 340 | | |
343 | 341 | | |
| |||
351 | 349 | | |
352 | 350 | | |
353 | 351 | | |
354 | | - | |
| 352 | + | |
355 | 353 | | |
356 | | - | |
357 | | - | |
358 | 354 | | |
359 | 355 | | |
360 | 356 | | |
| |||
0 commit comments