[webkit-changes] [WebKit/WebKit] fab679: Cherry-pick 268085 at main (ab8e3bcac480). https://bu...
Claudio Saavedra
noreply at github.com
Thu Oct 19 05:03:39 PDT 2023
Branch: refs/heads/webkitglib/2.42
Home: https://github.com/WebKit/WebKit
Commit: fab67902d6a54a746ae34f9239f905f4fb408957
https://github.com/WebKit/WebKit/commit/fab67902d6a54a746ae34f9239f905f4fb408957
Author: Claudio Saavedra <csaavedra at igalia.com>
Date: 2023-10-19 (Thu, 19 Oct 2023)
Changed paths:
M Source/WebCore/platform/gtk/GtkUtilities.cpp
M Source/WebKit/Shared/gtk/WebEventFactory.cpp
Log Message:
-----------
Cherry-pick 268085 at main (ab8e3bcac480). https://bugs.webkit.org/show_bug.cgi?id=261674
[GTK4] NativeWebWheelEvent crashes on wheel event tests
https://bugs.webkit.org/show_bug.cgi?id=261674
Reviewed by Michael Catanzaro.
The GdkEvent API in GTK4 won't play ball when given a NULL event.
When synthesizing wheel events we might pass a NULL event to the
event factory, so make sure that the methods that call GDK API
on it are NULL-safe.
* Source/WebCore/platform/gtk/GtkUtilities.cpp:
(WebCore::wallTimeForEvent):
* Source/WebKit/Shared/gtk/WebEventFactory.cpp:
(WebKit::modifiersForEvent):
Canonical link: https://commits.webkit.org/268085@main
More information about the webkit-changes
mailing list