| Summary: | AX: Make AXGeometryManager thread safe. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Andres Gonzalez <andresg_22> | ||||||
| Component: | Accessibility | Assignee: | Andres Gonzalez <andresg_22> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | aboxhall, andresg_22, apinheiro, cfleizach, dmazzoni, ews-watchlist, jcraig, jdiggs, samuel_white, tyler_w, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Attachments: |
|
||||||||
|
Description
Andres Gonzalez
2023-05-10 19:33:43 PDT
Created attachment 466311 [details]
Patch
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? Created attachment 466318 [details]
Patch
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]. |