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:
Andreas Kling 2021-09-21 11:49:47 +02:00
parent 32e98d0924
commit 720d494799
Notes: sideshowbarker 2024-07-18 03:35:45 +09:00

View file

@ -162,7 +162,7 @@ private:
Type m_type { Type::Undefined };
float m_value { 0 };
CalculatedStyleValue* m_calculated_style { nullptr };
RefPtr<CalculatedStyleValue> m_calculated_style;
};
}