diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2021-06-09 00:08:47 +0300 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-06-09 11:48:04 +0100 |
commit | 670be04c816b978e6308e18e8b18a0f784bf577c (patch) | |
tree | b3aaa8e9079f27737d2c5c1052afc95ebbdc5e08 /Userland/Libraries/LibWeb/Bindings | |
parent | b17a282b4b0a1f2831ea133b42aeec9e3d3e1208 (diff) | |
download | serenity-670be04c816b978e6308e18e8b18a0f784bf577c.zip |
LibJS: Add the Set built-in object
Diffstat (limited to 'Userland/Libraries/LibWeb/Bindings')
-rw-r--r-- | Userland/Libraries/LibWeb/Bindings/WindowObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Bindings/WindowObject.cpp b/Userland/Libraries/LibWeb/Bindings/WindowObject.cpp index 902e8aeebf..fd3d441432 100644 --- a/Userland/Libraries/LibWeb/Bindings/WindowObject.cpp +++ b/Userland/Libraries/LibWeb/Bindings/WindowObject.cpp @@ -43,7 +43,7 @@ void WindowObject::initialize_global_object() { Base::initialize_global_object(); - set_prototype(&ensure_web_prototype<EventTargetPrototype>("EventTarget")); + Object::set_prototype(&ensure_web_prototype<EventTargetPrototype>("EventTarget")); define_property("window", this, JS::Attribute::Enumerable); define_property("frames", this, JS::Attribute::Enumerable); |