[Webkit-unassigned] [Bug 212929] New: Remove unnecessary variable in `WindowProxy::createJSWindowProxy`

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 8 15:42:39 PDT 2020


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

            Bug ID: 212929
           Summary: Remove unnecessary variable in
                    `WindowProxy::createJSWindowProxy`
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Bindings
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: drousso at apple.com
                CC: cdumez at apple.com

```
    Strong<JSWindowProxy> jsWindowProxy(vm, &JSWindowProxy::create(vm, *m_frame->window(), world));
    Strong<JSWindowProxy> jsWindowProxy2(jsWindowProxy);
```

Nothing seems to use `jsWindowProxy2`, so it should be removed (or have a comment as to why it's needed).

This was added in r78634 <https://webkit.org/b/54415> ��

-- 
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/20200608/db899e8d/attachment.htm>


More information about the webkit-unassigned mailing list