summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Geometry/DOMPointReadOnly.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/Geometry/DOMPointReadOnly.h')
-rw-r--r--Userland/Libraries/LibWeb/Geometry/DOMPointReadOnly.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Geometry/DOMPointReadOnly.h b/Userland/Libraries/LibWeb/Geometry/DOMPointReadOnly.h
index 1777bd6e13..276c0ce399 100644
--- a/Userland/Libraries/LibWeb/Geometry/DOMPointReadOnly.h
+++ b/Userland/Libraries/LibWeb/Geometry/DOMPointReadOnly.h
@@ -17,7 +17,7 @@ class DOMPointReadOnly : public Bindings::PlatformObject {
WEB_PLATFORM_OBJECT(DOMPointReadOnly, Bindings::PlatformObject);
public:
- static JS::NonnullGCPtr<DOMPointReadOnly> construct_impl(JS::Realm&, double x = 0, double y = 0, double z = 0, double w = 0);
+ static JS::NonnullGCPtr<DOMPointReadOnly> construct_impl(JS::Realm&, double x = 0, double y = 0, double z = 0, double w = 1);
virtual ~DOMPointReadOnly() override;