[webkit-changes] [WebKit/WebKit] 3a45c5: Cherry-pick 284812 at main (94f6264db37e). https://bu...
Said Abou-Hallawa
noreply at github.com
Tue Oct 8 13:47:19 PDT 2024
Branch: refs/heads/webkitglib/2.46
Home: https://github.com/WebKit/WebKit
Commit: 3a45c5fcb4987a8c974cf649f62fa89bd57107d0
https://github.com/WebKit/WebKit/commit/3a45c5fcb4987a8c974cf649f62fa89bd57107d0
Author: Adan Lopez <ja_lopezlozoya at apple.com>
Date: 2024-10-08 (Tue, 08 Oct 2024)
Changed paths:
A LayoutTests/fast/canvas/canvas-layer-drawing-no-source-image-expected.txt
A LayoutTests/fast/canvas/canvas-layer-drawing-no-source-image.html
M Source/WebCore/platform/graphics/ImageBufferContextSwitcher.cpp
Log Message:
-----------
Cherry-pick 284812 at main (94f6264db37e). https://bugs.webkit.org/show_bug.cgi?id=277034
Crash in GraphicsContext::drawImageBuffer
https://bugs.webkit.org/show_bug.cgi?id=277034
rdar://132434375
Reviewed by Darin Adler and Ryosuke Niwa.
In the scenario thata sourceImageRect is too big so the m_sourceImage can't be allocated we need to handle it safely to prevent a crash.
* Source/WebCore/platform/graphics/ImageBufferContextSwitcher.cpp:
(WebCore::ImageBufferContextSwitcher::endDrawSourceImage):
Canonical link: https://commits.webkit.org/284812@main
Canonical link: https://commits.webkit.org/282416.198@webkitglib/2.46
Commit: 4fdc36569c453d2d80aa3a38a48efd3759a2f5e8
https://github.com/WebKit/WebKit/commit/4fdc36569c453d2d80aa3a38a48efd3759a2f5e8
Author: Said Abou-Hallawa <said at apple.com>
Date: 2024-10-08 (Tue, 08 Oct 2024)
Changed paths:
A LayoutTests/svg/css/svg-css-rotate-zero-vector-expected.txt
A LayoutTests/svg/css/svg-css-rotate-zero-vector.html
M Source/WebCore/platform/graphics/transforms/RotateTransformOperation.cpp
Log Message:
-----------
Cherry-pick 284781 at main (fe385386b01e). https://bugs.webkit.org/show_bug.cgi?id=280986
REGRESSION(269351 at main): RELEASE_ASSERT fires when rotating an SVG element around a zero vector
https://bugs.webkit.org/show_bug.cgi?id=280986
rdar://135587778
Reviewed by Simon Fraser.
Don't normalize the zero vector, when rotating an SVG element around it.
* LayoutTests/svg/css/svg-css-rotate-zero-vector-expected.txt: Added.
* LayoutTests/svg/css/svg-css-rotate-zero-vector.html: Added.
* Source/WebCore/platform/graphics/transforms/RotateTransformOperation.cpp:
(WebCore::RotateTransformOperation::blend):
Canonical link: https://commits.webkit.org/284781@main
Canonical link: https://commits.webkit.org/282416.200@webkitglib/2.46
Compare: https://github.com/WebKit/WebKit/compare/d2a33fdbd74a...4fdc36569c45
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list