diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/Geometry/DOMRectReadOnly.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/Geometry/DOMRectReadOnly.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Geometry/DOMRectReadOnly.cpp b/Userland/Libraries/LibWeb/Geometry/DOMRectReadOnly.cpp index 681df18913..82b778a930 100644 --- a/Userland/Libraries/LibWeb/Geometry/DOMRectReadOnly.cpp +++ b/Userland/Libraries/LibWeb/Geometry/DOMRectReadOnly.cpp @@ -11,7 +11,7 @@ namespace Web::Geometry { JS::NonnullGCPtr<DOMRectReadOnly> DOMRectReadOnly::construct_impl(JS::Realm& realm, double x, double y, double width, double height) { - return *realm.heap().allocate<DOMRectReadOnly>(realm, realm, x, y, width, height); + return realm.heap().allocate<DOMRectReadOnly>(realm, realm, x, y, width, height); } DOMRectReadOnly::DOMRectReadOnly(JS::Realm& realm, double x, double y, double width, double height) |