1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-03 00:52:12 +00:00

LibHTML: Rename LayoutNode::style_properties() to LayoutNode::style()

This commit is contained in:
Andreas Kling 2019-10-04 15:56:36 +02:00
parent 9c0e9a1a20
commit a7ca719c4e
7 changed files with 21 additions and 21 deletions

View file

@ -62,11 +62,11 @@ public:
virtual LayoutNode& inline_wrapper() { return *this; }
const StyleProperties& style_properties() const
const StyleProperties& style() const
{
if (m_style_properties)
return *m_style_properties;
return parent()->style_properties();
return parent()->style();
}
void inserted_into(LayoutNode&) {}