Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c7cf1700de117cb251a91dd38ba9bed65516b3f7
https://github.com/WebKit/WebKit/commit/c7cf1700de117cb251a91dd38ba9bed65516b3f7
Author: Andres Gonzalez <[email protected]>
Date: 2023-01-04 (Wed, 04 Jan 2023)
Changed paths:
M Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.mm
Log Message:
-----------
AX: Conversion of PDFView coordinates to screen coordinates for accessibility
should happen on the main thread.
https://bugs.webkit.org/show_bug.cgi?id=250099
<rdar://problem/103884859>
Reviewed by Chris Fleizach.
* Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.mm:
(-[WKPDFPluginAccessibilityObject accessibilityAttributeValue:]):
(-[WKPDFPluginAccessibilityObject accessibilityAttributeValue:forParameter:]):
Instead of dispatching to the main thread, the above two methods call directly
PDFPlugin::convertFromPDFViewToScreen that in turn dispatches the conversion to
the main thread.
(WebKit::PDFPlugin::convertFromPDFViewToScreen const):
(WebKit::PDFPlugin::boundsOnScreen const):
These two PDFPlugin methods now dispatch the conversion to the main thread.
Canonical link: https://commits.webkit.org/258469@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes