[Webkit-unassigned] [Bug 95311] New: [CSSRegions]Use RefPtr's instead of weak references on DOMNamedFlowCollection

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 29 01:39:49 PDT 2012


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

           Summary: [CSSRegions]Use RefPtr's instead of weak references on
                    DOMNamedFlowCollection
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: onea at adobe.com


Currently, DOMNamedFlowCollection (the interface exposed to JS) uses the same type of set for keeping its WebKitNamedFlow's as NamedFlowCollection (the internal collection). While NamedFlowCollection controls the lifetime of its WebKitNamedFlows, and therefore is safe to use weak references. DOMNamedFlowCollection, however, has no control over them, and therefore needs to keep a strong reference, to prevent heap use after free.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list