Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 96fb0b0c6c46bdb017943a564682e6474a15d3d7
https://github.com/WebKit/WebKit/commit/96fb0b0c6c46bdb017943a564682e6474a15d3d7
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:
-----------
[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
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