1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:58:11 +00:00

LibWeb: Rename Layout::Node::style() => computed_values()

This commit is contained in:
Andreas Kling 2021-01-06 11:07:02 +01:00
parent e187a5365a
commit e5490ae1d1
6 changed files with 22 additions and 22 deletions

View file

@ -127,7 +127,7 @@ public:
const Gfx::Font& font() const;
const CSS::StyleProperties& specified_style() const;
const CSS::ImmutableComputedValues& style() const;
const CSS::ImmutableComputedValues& computed_values() const;
NodeWithStyle* parent();
const NodeWithStyle* parent() const;
@ -247,7 +247,7 @@ inline const CSS::StyleProperties& Node::specified_style() const
return parent()->specified_style();
}
inline const CSS::ImmutableComputedValues& Node::style() const
inline const CSS::ImmutableComputedValues& Node::computed_values() const
{
if (m_has_style)
return static_cast<const NodeWithStyle*>(this)->computed_values();