diff options
Diffstat (limited to 'extra/webkit2gtk/patches')
-rw-r--r-- | extra/webkit2gtk/patches/fix-sourcebrush.patch | 18 |
1 files changed, 18 insertions, 0 deletions
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>&& gradient, const AffineTransform& spaceTransform) + { +- m_brush = { Brush::LogicalGradient { WTFMove(gradient), spaceTransform } }; ++ m_brush = Brush { Brush::LogicalGradient { WTFMove(gradient), spaceTransform } }; + } + + void SourceBrush::setPattern(Ref<Pattern>&& pattern) + { +- m_brush = { Brush::Variant { std::in_place_type<Ref<Pattern>>, WTFMove(pattern) } }; ++ m_brush = Brush { Brush::Variant { std::in_place_type<Ref<Pattern>>, WTFMove(pattern) } }; + } + + WTF::TextStream& operator<<(TextStream& ts, const SourceBrush& brush) |