RESOLVED FIXED 231651
Stop using makeWeakPtr() in WebCore
https://bugs.webkit.org/show_bug.cgi?id=231651
Summary Stop using makeWeakPtr() in WebCore
Chris Dumez
Reported 2021-10-12 17:50:43 PDT
Stop using makeWeakPtr() in WebCore and use WeakPtr { } directly instead.
Attachments
Patch (220.50 KB, patch)
2021-10-12 18:08 PDT, Chris Dumez
no flags
Patch (220.32 KB, patch)
2021-10-12 19:22 PDT, Chris Dumez
no flags
Patch (219.85 KB, patch)
2021-10-13 07:47 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2021-10-12 18:08:21 PDT
Chris Dumez
Comment 2 2021-10-12 19:22:50 PDT
Alex Christensen
Comment 3 2021-10-13 07:24:18 PDT
Comment on attachment 441032 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=441032&action=review > Source/WebCore/html/HTMLMediaElement.h:1171 > + WeakPtr<MediaResourceLoader> m_lastMediaResourceLoaderForTesting; no more const?
Chris Dumez
Comment 4 2021-10-13 07:30:10 PDT
(In reply to Alex Christensen from comment #3) > Comment on attachment 441032 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=441032&action=review > > > Source/WebCore/html/HTMLMediaElement.h:1171 > > + WeakPtr<MediaResourceLoader> m_lastMediaResourceLoaderForTesting; > > no more const? I'll check if I can keep it.
Chris Dumez
Comment 5 2021-10-13 07:47:14 PDT
Chris Dumez
Comment 6 2021-10-13 08:38:03 PDT
Comment on attachment 441078 [details] Patch Clearing flags on attachment: 441078 Committed r284093 (242921@main): <https://commits.webkit.org/242921@main>
Chris Dumez
Comment 7 2021-10-13 08:38:10 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 8 2021-10-13 08:39:18 PDT
Note You need to log in before you can comment on or make changes to this bug.