[Webkit-unassigned] [Bug 161350] New: Make PendingScript as ref-counted

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 29 15:28:31 PDT 2016


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

            Bug ID: 161350
           Summary: Make PendingScript as ref-counted
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: utatane.tea at gmail.com

PendingScript is used as the cached resource client. So they have copy constructor to add / remove clients to the cached resource.
However, there is only one place where this functionality is used.

Making PendingScript as ref-counted and making PendingScript as noncopyable clean up code.
And later, I plan to use PendingScript as the abstraction over CachedScript & ScriptModuleGraph.
And I plan to make PendingScript observable (adding PendingScriptClient).
It is good that PendingScript is noncopyable for that use cases.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160829/a09e5bd1/attachment.html>


More information about the webkit-unassigned mailing list