- Add gcc13-fix.patch fix that handles invalid code as reported here: https://github.com/WebKit/WebKit/pull/11910. OBS-URL: https://build.opensuse.org/request/show/1074631 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/webkit2gtk3?expand=0&rev=394
20 lines
800 B
Diff
20 lines
800 B
Diff
diff --git a/Source/WebCore/platform/graphics/SourceBrush.cpp b/Source/WebCore/platform/graphics/SourceBrush.cpp
|
|
index d7ff7292..48ae0e61 100644
|
|
--- a/Source/WebCore/platform/graphics/SourceBrush.cpp
|
|
+++ b/Source/WebCore/platform/graphics/SourceBrush.cpp
|
|
@@ -65,12 +65,12 @@ Pattern* SourceBrush::pattern() const
|
|
|
|
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 = { WTFMove(pattern) };
|
|
+ m_brush = Brush { WTFMove(pattern) };
|
|
}
|
|
|
|
WTF::TextStream& operator<<(TextStream& ts, const SourceBrush& brush)
|