diff --git a/Userland/Libraries/LibWeb/CSS/Length.h b/Userland/Libraries/LibWeb/CSS/Length.h index 5187de9c30..b90324a419 100644 --- a/Userland/Libraries/LibWeb/CSS/Length.h +++ b/Userland/Libraries/LibWeb/CSS/Length.h @@ -162,7 +162,7 @@ private: Type m_type { Type::Undefined }; float m_value { 0 }; - CalculatedStyleValue* m_calculated_style { nullptr }; + RefPtr m_calculated_style; }; }