RESOLVED FIXED256625
AX: Make AXGeometryManager thread safe.
https://bugs.webkit.org/show_bug.cgi?id=256625
Summary AX: Make AXGeometryManager thread safe.
Andres Gonzalez
Reported 2023-05-10 19:33:43 PDT
Since this class is now used off the main thread, needs to be thread safe.
Attachments
Patch (10.54 KB, patch)
2023-05-10 19:52 PDT, Andres Gonzalez
no flags
Patch (10.77 KB, patch)
2023-05-11 07:30 PDT, Andres Gonzalez
no flags
Andres Gonzalez
Comment 1 2023-05-10 19:52:34 PDT
Radar WebKit Bug Importer
Comment 2 2023-05-10 19:52:45 PDT
Tyler Wilcock
Comment 3 2023-05-10 20:52:27 PDT
Comment on attachment 466311 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=466311&action=review > Source/WebCore/accessibility/AXGeometryManager.cpp:54 > + m_updateObjectRegionsTimer.stop(); It is cheaper to check !m_updateObjectRegionsTimer.isActive() before stop() rather than unconditionally calling stop() (by a surprising amount if you dig into the implementation -- I did for a previous change). Might not matter too much though. > Source/WebCore/accessibility/AXGeometryManager.h:76 > + Lock m_lock; Is there a more descriptive name than m_lock? m_screenRectLock?
Andres Gonzalez
Comment 4 2023-05-11 07:30:03 PDT
EWS
Comment 5 2023-05-11 08:51:57 PDT
Committed 263970@main (7a6e0627e073): <https://commits.webkit.org/263970@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 466318 [details].
Note You need to log in before you can comment on or make changes to this bug.