summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/SVGSVGBox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/SVGSVGBox.cpp')
-rw-r--r--Userland/Libraries/LibWeb/Layout/SVGSVGBox.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/SVGSVGBox.cpp b/Userland/Libraries/LibWeb/Layout/SVGSVGBox.cpp
index 1179e5bbb4..0fb658b374 100644
--- a/Userland/Libraries/LibWeb/Layout/SVGSVGBox.cpp
+++ b/Userland/Libraries/LibWeb/Layout/SVGSVGBox.cpp
@@ -5,7 +5,7 @@
*/
#include <LibWeb/Layout/SVGSVGBox.h>
-#include <LibWeb/Painting/Paintable.h>
+#include <LibWeb/Painting/SVGSVGPaintable.h>
namespace Web::Layout {
@@ -14,4 +14,9 @@ SVGSVGBox::SVGSVGBox(DOM::Document& document, SVG::SVGSVGElement& element, Nonnu
{
}
+RefPtr<Painting::Paintable> SVGSVGBox::create_paintable() const
+{
+ return Painting::SVGSVGPaintable::create(*this);
+}
+
}