[webkit-changes] [WebKit/WebKit] 3f563e: [GTK] Use std::array and ASCIILiteral in DropTarge...
Adrian Perez
noreply at github.com
Fri Oct 25 14:43:02 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3f563ed0bcbf5911f3f8ba04fdfe993bbb62c373
https://github.com/WebKit/WebKit/commit/3f563ed0bcbf5911f3f8ba04fdfe993bbb62c373
Author: Adrian Perez de Castro <aperez at igalia.com>
Date: 2024-10-25 (Fri, 25 Oct 2024)
Changed paths:
M Source/WebKit/UIProcess/API/gtk/DropTargetGtk4.cpp
Log Message:
-----------
[GTK] Use std::array and ASCIILiteral in DropTargetGtk4.cpp
https://bugs.webkit.org/show_bug.cgi?id=282095
Reviewed by Michael Catanzaro.
* Source/WebKit/UIProcess/API/gtk/DropTargetGtk4.cpp:
(WebKit::DropTarget::accept): Convert portalMIMETypes and supportedMimeTypes
to be std::array, use ASCIILiteral strings as their elements, and replace
usage of g_strv_contains() with std::ranges::contains(). Remove usage of
WTF_ALLOW_UNSAFE_BUFFER_USAGE_{BEGIN,END}.
Canonical link: https://commits.webkit.org/285713@main
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