summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Bindings/XMLHttpRequestConstructor.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibWeb/Bindings/XMLHttpRequestConstructor.h')
-rw-r--r--Libraries/LibWeb/Bindings/XMLHttpRequestConstructor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/Bindings/XMLHttpRequestConstructor.h b/Libraries/LibWeb/Bindings/XMLHttpRequestConstructor.h
index ca5a8f8652..5c9b733e73 100644
--- a/Libraries/LibWeb/Bindings/XMLHttpRequestConstructor.h
+++ b/Libraries/LibWeb/Bindings/XMLHttpRequestConstructor.h
@@ -38,7 +38,7 @@ public:
virtual ~XMLHttpRequestConstructor() override;
virtual JS::Value call(JS::Interpreter&) override;
- virtual JS::Value construct(JS::Interpreter&) override;
+ virtual JS::Value construct(JS::Interpreter& interpreter, Function& new_target) override;
private:
virtual bool has_constructor() const override { return true; }