mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:47:36 +00:00
LibWeb: Simplify Layout::Node::class_name() with RTTI
This commit is contained in:
parent
7841528cd4
commit
730af2c524
24 changed files with 8 additions and 37 deletions
|
@ -41,7 +41,6 @@ public:
|
|||
void layout_marker();
|
||||
|
||||
private:
|
||||
virtual const char* class_name() const override { return "ListItemBox"; }
|
||||
virtual bool is_list_item() const override { return true; }
|
||||
|
||||
RefPtr<ListItemMarkerBox> m_marker;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue