[Webkit-unassigned] [Bug 186683] New: DisplayRefreshMonitorMac should hold a weak pointer to WebPage.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 15 10:42:40 PDT 2018


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

            Bug ID: 186683
           Summary: DisplayRefreshMonitorMac should hold a weak pointer to
                    WebPage.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: pvollan at apple.com

Instead of DisplayRefreshMonitorMac having a RefPtr to WebPage, it should have a weak pointer. Having a RefPtr could in theory create reference cycles. I have not seen any cases of this, but I think it would be better design to hold a weak pointer.

-- 
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/20180615/61241f46/attachment.html>


More information about the webkit-unassigned mailing list