summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/SVG/SVGElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/SVG/SVGElement.cpp')
-rw-r--r--Userland/Libraries/LibWeb/SVG/SVGElement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/SVG/SVGElement.cpp b/Userland/Libraries/LibWeb/SVG/SVGElement.cpp
index 328d9e6a7f..d377e54900 100644
--- a/Userland/Libraries/LibWeb/SVG/SVGElement.cpp
+++ b/Userland/Libraries/LibWeb/SVG/SVGElement.cpp
@@ -13,7 +13,7 @@ SVGElement::SVGElement(DOM::Document& document, DOM::QualifiedName qualified_nam
: Element(document, move(qualified_name))
, m_dataset(HTML::DOMStringMap::create(*this))
{
- set_prototype(&window().cached_web_prototype("SVGElement"));
+ set_prototype(&Bindings::cached_web_prototype(realm(), "SVGElement"));
}
void SVGElement::visit_edges(Cell::Visitor& visitor)