| Summary: | Remove unnecessary variable in `WindowProxy::createJSWindowProxy` | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Devin Rousso <hi> | ||||
| Component: | Bindings | Assignee: | Devin Rousso <hi> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | cdumez, darin, hi, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
Created attachment 401384 [details]
Patch
Committed r262751: <https://trac.webkit.org/changeset/262751> All reviewed patches have been landed. Closing bug and clearing flags on attachment 401384 [details]. |
``` 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> 🤯