Summary: | Several TextMarker attributes 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, 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-18 13:11:25 PDT
Created attachment 393894 [details]
Patch
Committed r258673: <https://trac.webkit.org/changeset/258673> All reviewed patches have been landed. Closing bug and clearing flags on attachment 393894 [details]. Comment on attachment 393894 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=393894&action=review > Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm:560 > +static inline RetainPtr<WebAccessibilityObjectWrapper> retainWrapper(WebAccessibilityObjectWrapper* wrapper) > +{ > + return RetainPtr<WebAccessibilityObjectWrapper>(wrapper); > +} I’m surprised we need this. Doesn’t the retainPtr function from RetainPtr.h work? (In reply to Darin Adler from comment #4) > Comment on attachment 393894 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=393894&action=review > > > Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm:560 > > +static inline RetainPtr<WebAccessibilityObjectWrapper> retainWrapper(WebAccessibilityObjectWrapper* wrapper) > > +{ > > + return RetainPtr<WebAccessibilityObjectWrapper>(wrapper); > > +} > > I’m surprised we need this. Doesn’t the retainPtr function from RetainPtr.h > work? I misread your comment about this in a previous review as that should use a helper function, but didn't realize that retainPtr already existed. Fixed it in: https://bugs.webkit.org/show_bug.cgi?id=209269 Thanks very much. |