Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3ce45f625cdbbe20bac111e7a2d3b0b050f21729
https://github.com/WebKit/WebKit/commit/3ce45f625cdbbe20bac111e7a2d3b0b050f21729
Author: Adrian Perez de Castro <[email protected]>
Date: 2026-02-03 (Tue, 03 Feb 2026)
Changed paths:
M Source/WebKit/UIProcess/gtk/ClipboardGtk4.cpp
Log Message:
-----------
[GTK] Remove WTF_ALLOW_UNSAFE_BUFFER_USAGE from
WebKit/UIProcess/gtk/ClipboardGtk4.cpp
https://bugs.webkit.org/show_bug.cgi?id=306846
Reviewed by Carlos Garcia Campos.
This removes the last instances of WTF_ALLOW_UNSAFE_BUFFER_USAGE_{BEGIN,END}
left under Source/WebKit/UIProcess/gtk/.
* Source/WebKit/UIProcess/gtk/ClipboardGtk4.cpp:
(WebKit::Clipboard::formats): Use a std::span to provide bounded access
to the array of MIME types. While at it, simplify the code a little bit.
Canonical link: https://commits.webkit.org/306697@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications