1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:27:43 +00:00

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

This commit is contained in:
Andreas Kling 2021-01-01 16:08:19 +01:00
parent 7841528cd4
commit 730af2c524
24 changed files with 8 additions and 37 deletions

View file

@ -65,8 +65,6 @@ protected:
virtual void split_into_lines(InlineFormattingContext&, LayoutMode) override;
private:
virtual const char* class_name() const override { return "ReplacedBox"; }
bool m_has_intrinsic_width { false };
bool m_has_intrinsic_height { false };
bool m_has_intrinsic_ratio { false };