Bug 209010

Summary: Cache the ScrollView platformWidget to avoid [WebAccessibilityObjectWrapper scrollViewParent] hitting the main thread too often.
Product: WebKit Reporter: Andres Gonzalez <andresg_22>
Component: New BugsAssignee: Andres Gonzalez <andresg_22>
Status: RESOLVED FIXED    
Severity: Normal CC: aboxhall, apinheiro, cfleizach, commit-queue, dmazzoni, ews-watchlist, jcraig, jdiggs, samuel_white, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Andres Gonzalez
Reported 2020-03-12 12:38:52 PDT
Cache the ScrollView platformWidget to avoid [WebAccessibilityObjectWrapper scrollViewParent] hitting the main thread too often.
Attachments
Patch (13.32 KB, patch)
2020-03-12 12:56 PDT, Andres Gonzalez
no flags
Andres Gonzalez
Comment 1 2020-03-12 12:56:52 PDT
chris fleizach
Comment 2 2020-03-12 13:10:30 PDT
Comment on attachment 393402 [details] Patch this looks like it will work. holding onto a NSView off the main thread shouldn't be problematic in and of itself. however, if AppKit makes ax calls on that object outside of WebKit it might require a change in AppKit
WebKit Commit Bot
Comment 3 2020-03-12 14:12:18 PDT
Comment on attachment 393402 [details] Patch Clearing flags on attachment: 393402 Committed r258356: <https://trac.webkit.org/changeset/258356>
WebKit Commit Bot
Comment 4 2020-03-12 14:12:20 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 5 2020-03-12 14:13:14 PDT
Note You need to log in before you can comment on or make changes to this bug.