diff options
Diffstat (limited to 'Libraries/LibWeb/Bindings/LocationObject.cpp')
-rw-r--r-- | Libraries/LibWeb/Bindings/LocationObject.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Libraries/LibWeb/Bindings/LocationObject.cpp b/Libraries/LibWeb/Bindings/LocationObject.cpp index b453cf4dd5..bb14fa368b 100644 --- a/Libraries/LibWeb/Bindings/LocationObject.cpp +++ b/Libraries/LibWeb/Bindings/LocationObject.cpp @@ -40,8 +40,9 @@ LocationObject::LocationObject(JS::GlobalObject& global_object) { } -void LocationObject::initialize(JS::Interpreter&, JS::GlobalObject&) +void LocationObject::initialize(JS::Interpreter& interpreter, JS::GlobalObject& global_object) { + Object::initialize(interpreter, global_object); u8 attr = JS::Attribute::Writable | JS::Attribute::Enumerable; define_native_property("href", href_getter, href_setter, attr); define_native_property("host", host_getter, nullptr, attr); |