summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/SVG/SVGElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/SVG/SVGElement.h')
-rw-r--r--Userland/Libraries/LibWeb/SVG/SVGElement.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/SVG/SVGElement.h b/Userland/Libraries/LibWeb/SVG/SVGElement.h
index 0cd75788fe..af47434fb4 100644
--- a/Userland/Libraries/LibWeb/SVG/SVGElement.h
+++ b/Userland/Libraries/LibWeb/SVG/SVGElement.h
@@ -17,12 +17,13 @@ public:
virtual bool requires_svg_container() const override { return true; }
- NonnullRefPtr<HTML::DOMStringMap> dataset() const { return m_dataset; }
+ HTML::DOMStringMap* dataset() { return m_dataset.cell(); }
+ HTML::DOMStringMap const* dataset() const { return m_dataset.cell(); }
protected:
SVGElement(DOM::Document&, DOM::QualifiedName);
- NonnullRefPtr<HTML::DOMStringMap> m_dataset;
+ JS::Handle<HTML::DOMStringMap> m_dataset;
};
}