LibWeb: Simplify Layout::Node::class_name() with RTTI

This commit is contained in:
Andreas Kling 2021-01-01 16:08:19 +01:00
commit 730af2c524
Notes: sideshowbarker 2024-07-19 00:16:05 +09:00
24 changed files with 8 additions and 37 deletions

View file

@ -36,8 +36,6 @@ public:
BlockBox(DOM::Document&, DOM::Node*, NonnullRefPtr<CSS::StyleProperties>);
virtual ~BlockBox() override;
virtual const char* class_name() const override { return "BlockBox"; }
virtual void paint(PaintContext&, PaintPhase) override;
virtual HitTestResult hit_test(const Gfx::IntPoint&, HitTestType) const override;