diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/SVG/SVGLength.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/SVG/SVGLength.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/SVG/SVGLength.cpp b/Userland/Libraries/LibWeb/SVG/SVGLength.cpp index 6919433e10..2a268304ce 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGLength.cpp +++ b/Userland/Libraries/LibWeb/SVG/SVGLength.cpp @@ -11,7 +11,7 @@ namespace Web::SVG { JS::NonnullGCPtr<SVGLength> SVGLength::create(JS::Realm& realm, u8 unit_type, float value) { - return *realm.heap().allocate<SVGLength>(realm, realm, unit_type, value); + return realm.heap().allocate<SVGLength>(realm, realm, unit_type, value); } SVGLength::SVGLength(JS::Realm& realm, u8 unit_type, float value) |