mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 22:38:12 +00:00
LibWeb: Give the DOM Window object a (weak) pointer to its JS wrapper
This commit is contained in:
parent
8194dfb9f4
commit
cc5cba90db
4 changed files with 20 additions and 7 deletions
|
@ -45,6 +45,7 @@ namespace Bindings {
|
|||
WindowObject::WindowObject(Window& impl)
|
||||
: m_impl(impl)
|
||||
{
|
||||
impl.set_wrapper({}, *this);
|
||||
}
|
||||
|
||||
void WindowObject::initialize()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue