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