mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-23 04:55:15 +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
Notes:
sideshowbarker
2024-07-18 03:35:45 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/720d4947996
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ private:
|
|||
Type m_type { Type::Undefined };
|
||||
float m_value { 0 };
|
||||
|
||||
CalculatedStyleValue* m_calculated_style { nullptr };
|
||||
RefPtr<CalculatedStyleValue> m_calculated_style;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue