[Webkit-unassigned] [Bug 215420] New: Clean up the VideoFullscreenModelClient management in VideoFullscreenModelContext

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 12 11:37:02 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=215420

            Bug ID: 215420
           Summary: Clean up the VideoFullscreenModelClient management in
                    VideoFullscreenModelContext
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: peng.liu6 at apple.com

We should replace `HashSet<WebCore::VideoFullscreenModelClient*>` with `WeakHashSet<WebCore::VideoFullscreenModelClient>` and update all the call sites. This may be a source of latent bugs, if the m_clients set is mutated while calling callbacks.
https://bugs.webkit.org/show_bug.cgi?id=215305#c8

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200812/b6bcb91f/attachment-0001.htm>


More information about the webkit-unassigned mailing list