mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:57:34 +00:00
LibWeb: Make CSS::Length::m_calculated_style a RefPtr
Let's now have CSS::Length holding raw pointers to things.
This commit is contained in:
parent
32e98d0924
commit
720d494799
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ private:
|
||||||
Type m_type { Type::Undefined };
|
Type m_type { Type::Undefined };
|
||||||
float m_value { 0 };
|
float m_value { 0 };
|
||||||
|
|
||||||
CalculatedStyleValue* m_calculated_style { nullptr };
|
RefPtr<CalculatedStyleValue> m_calculated_style;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue