From d43ddd6eb7ba19eedc09101ba48689989fb55c1d Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 26 Jul 2020 14:59:43 +0200 Subject: [PATCH] LibWeb: LayoutSVG should not claim to be a LayoutCanvas :^) Also make the class_name() match the actual class name. --- Libraries/LibWeb/Layout/LayoutSVG.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Libraries/LibWeb/Layout/LayoutSVG.h b/Libraries/LibWeb/Layout/LayoutSVG.h index fd72e9f22a..091e536be5 100644 --- a/Libraries/LibWeb/Layout/LayoutSVG.h +++ b/Libraries/LibWeb/Layout/LayoutSVG.h @@ -44,8 +44,7 @@ public: SVG::SVGSVGElement& node() { return static_cast(LayoutReplaced::node()); } private: - virtual const char* class_name() const override { return "LayoutSvg"; } - virtual bool is_canvas() const override { return true; } + virtual const char* class_name() const override { return "LayoutSVG"; } }; }