From c04967ce5b2f13fc1dbc67ac9e6a3a15103d8930 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Fri, 2 Jun 2023 20:08:34 +0200 Subject: webkit2gtk: bump to 2.40.1 --- extra/webkit2gtk/patches/fix-sourcebrush.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 extra/webkit2gtk/patches/fix-sourcebrush.patch (limited to 'extra/webkit2gtk/patches/fix-sourcebrush.patch') diff --git a/extra/webkit2gtk/patches/fix-sourcebrush.patch b/extra/webkit2gtk/patches/fix-sourcebrush.patch new file mode 100644 index 00000000..c553d66e --- /dev/null +++ b/extra/webkit2gtk/patches/fix-sourcebrush.patch @@ -0,0 +1,18 @@ +diff -ur a/Source/WebCore/platform/graphics/SourceBrush.cpp b/Source/WebCore/platform/graphics/SourceBrush.cpp +--- a/Source/WebCore/platform/graphics/SourceBrush.cpp Wed May 24 13:31:50 2023 ++++ b/Source/WebCore/platform/graphics/SourceBrush.cpp Wed May 24 13:31:24 2023 +@@ -65,12 +65,12 @@ + + void SourceBrush::setGradient(Ref&& gradient, const AffineTransform& spaceTransform) + { +- m_brush = { Brush::LogicalGradient { WTFMove(gradient), spaceTransform } }; ++ m_brush = Brush { Brush::LogicalGradient { WTFMove(gradient), spaceTransform } }; + } + + void SourceBrush::setPattern(Ref&& pattern) + { +- m_brush = { Brush::Variant { std::in_place_type>, WTFMove(pattern) } }; ++ m_brush = Brush { Brush::Variant { std::in_place_type>, WTFMove(pattern) } }; + } + + WTF::TextStream& operator<<(TextStream& ts, const SourceBrush& brush) -- cgit v1.2.3