summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-07-26 14:59:43 +0200
committerAndreas Kling <kling@serenityos.org>2020-07-26 14:59:43 +0200
commitd43ddd6eb7ba19eedc09101ba48689989fb55c1d (patch)
tree3442b978d59b334c1ddaf2664b9db88d5b8e702d
parentec0315883beca84ab143f094d10703034b6dc896 (diff)
downloadserenity-d43ddd6eb7ba19eedc09101ba48689989fb55c1d.zip
LibWeb: LayoutSVG should not claim to be a LayoutCanvas :^)
Also make the class_name() match the actual class name.
-rw-r--r--Libraries/LibWeb/Layout/LayoutSVG.h3
1 files changed, 1 insertions, 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<SVG::SVGSVGElement&>(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"; }
};
}