| Summary: | Attributes SelectionTextMarkerRange and Start/EndTextMarker need to run on the main thread. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Andres Gonzalez <andresg_22> | ||||
| Component: | New Bugs | Assignee: | Andres Gonzalez <andresg_22> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | aboxhall, apinheiro, cfleizach, commit-queue, darin, dmazzoni, ews-watchlist, jcraig, jdiggs, samuel_white, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Andres Gonzalez
2020-03-12 07:53:55 PDT
Created attachment 393376 [details]
Patch
Comment on attachment 393376 [details] Patch Clearing flags on attachment: 393376 Committed r258349: <https://trac.webkit.org/changeset/258349> All reviewed patches have been landed. Closing bug. Comment on attachment 393376 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=393376&action=review > Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm:2830 > + return Accessibility::retrieveAutoreleasedValueFromMainThread<id>([protectedSelf = RetainPtr<WebAccessibilityObjectWrapper>(self)] () -> RetainPtr<id> { Maybe we can write this more elegantly using the retainPtr helper function? [protectedSelf = retainPtr(self)] (In reply to Darin Adler from comment #5) > Comment on attachment 393376 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=393376&action=review > > > Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm:2830 > > + return Accessibility::retrieveAutoreleasedValueFromMainThread<id>([protectedSelf = RetainPtr<WebAccessibilityObjectWrapper>(self)] () -> RetainPtr<id> { > > Maybe we can write this more elegantly using the retainPtr helper function? > > [protectedSelf = retainPtr(self)] Agree, I'll make a separate change with a sweep through all the instances of this construct. Thanks. |