From 9ce5bbe059e1aa1ff39bd2d61b0da369d7361312 Mon Sep 17 00:00:00 2001 From: Tim Ledbetter Date: Mon, 24 Mar 2025 17:05:30 +0000 Subject: [PATCH] LibWeb: Remove CubicBezier cached sample inline cache This reduces the size of CubicBezier objects from 1592 bytes to 56 bytes. --- Libraries/LibWeb/CSS/StyleValues/EasingStyleValue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/LibWeb/CSS/StyleValues/EasingStyleValue.h b/Libraries/LibWeb/CSS/StyleValues/EasingStyleValue.h index 25e2cfc71c8..8bc90d1ab33 100644 --- a/Libraries/LibWeb/CSS/StyleValues/EasingStyleValue.h +++ b/Libraries/LibWeb/CSS/StyleValues/EasingStyleValue.h @@ -57,7 +57,7 @@ public: double t; }; - mutable Vector m_cached_x_samples {}; + mutable Vector m_cached_x_samples {}; bool operator==(CubicBezier const&) const;