summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Bindings
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-06-09 00:08:47 +0300
committerLinus Groh <mail@linusgroh.de>2021-06-09 11:48:04 +0100
commit670be04c816b978e6308e18e8b18a0f784bf577c (patch)
treeb3aaa8e9079f27737d2c5c1052afc95ebbdc5e08 /Userland/Libraries/LibWeb/Bindings
parentb17a282b4b0a1f2831ea133b42aeec9e3d3e1208 (diff)
downloadserenity-670be04c816b978e6308e18e8b18a0f784bf577c.zip
LibJS: Add the Set built-in object
Diffstat (limited to 'Userland/Libraries/LibWeb/Bindings')
-rw-r--r--Userland/Libraries/LibWeb/Bindings/WindowObject.cpp2
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);