Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick 268085@main (ab8e3bc). https://bugs.webkit.org/show_bug.c…
…gi?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
- Loading branch information