Branch: refs/heads/webkitglib/2.44
Home: https://github.com/WebKit/WebKit
Commit: 4854b944b345990e4100319662777856fe8ea4aa
https://github.com/WebKit/WebKit/commit/4854b944b345990e4100319662777856fe8ea4aa
Author: Adrian Perez de Castro <[email protected]>
Date: 2024-08-15 (Thu, 15 Aug 2024)
Changed paths:
M Source/WebCore/rendering/TextDecorationPainter.cpp
Log Message:
-----------
Cherry-pick 282306@main (96fb0b0c6c46).
https://bugs.webkit.org/show_bug.cgi?id=274780
[WPE][GTK] Crash in
WebCore::TextDecorationPainter::paintBackgroundDecorations when compiled with
Clang with LTO enabled
https://bugs.webkit.org/show_bug.cgi?id=274780
Reviewed by Michael Catanzaro.
Clang seem to have some issue when inlining assignment and move
operators in LTO builds, generating code that tries to perform OOB
access to Vector data. Replacing an assignmenmt with a Vector::swap(),
which is semantically equivalent in this case (the moved-from object
is not used again in the function) workarounds the compiler issue.
* Source/WebCore/rendering/TextDecorationPainter.cpp:
(WebCore::translateIntersectionPointsToSkipInkBoundaries):
Canonical link: https://commits.webkit.org/282306@main
Canonical link: https://commits.webkit.org/274313.374@webkitglib/2.44
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes