diff --git a/Libraries/LibGfx/PaintStyle.h b/Libraries/LibGfx/PaintStyle.h index 1acbba397b6f..9ebf66736e08 100644 --- a/Libraries/LibGfx/PaintStyle.h +++ b/Libraries/LibGfx/PaintStyle.h @@ -38,7 +38,7 @@ class PaintStyle : public RefCounted { virtual Color sample_color(IntPoint) const { return Color(); } }; -class SolidColorPaintStyle final : public PaintStyle { +class SolidColorPaintStyle : public PaintStyle { public: static ErrorOr> create(Color color) { @@ -90,7 +90,7 @@ class GradientPaintStyle : public PaintStyle { // These gradients are (unlike CSS ones) not relative to the painted shape, and do not // support premultiplied alpha. -class CanvasLinearGradientPaintStyle final : public GradientPaintStyle { +class CanvasLinearGradientPaintStyle : public GradientPaintStyle { public: static ErrorOr> create(FloatPoint p0, FloatPoint p1) { @@ -113,7 +113,7 @@ class CanvasLinearGradientPaintStyle final : public GradientPaintStyle { FloatPoint m_p1; }; -class CanvasConicGradientPaintStyle final : public GradientPaintStyle { +class CanvasConicGradientPaintStyle : public GradientPaintStyle { public: static ErrorOr> create(FloatPoint center, float start_angle = 0.0f) { @@ -133,7 +133,7 @@ class CanvasConicGradientPaintStyle final : public GradientPaintStyle { float m_start_angle { 0.0f }; }; -class CanvasRadialGradientPaintStyle final : public GradientPaintStyle { +class CanvasRadialGradientPaintStyle : public GradientPaintStyle { public: static ErrorOr> create(FloatPoint start_center, float start_radius, FloatPoint end_center, float end_radius) { @@ -190,7 +190,7 @@ class SVGGradientPaintStyle : public GradientPaintStyle { SpreadMethod m_spread_method { SpreadMethod::Pad }; }; -class SVGLinearGradientPaintStyle final : public SVGGradientPaintStyle { +class SVGLinearGradientPaintStyle : public SVGGradientPaintStyle { public: static ErrorOr> create(FloatPoint p0, FloatPoint p1) {