[webkit-changes] [WebKit/WebKit] 513711: [WPE][GTK] Remove various WTF_ALLOW_UNSAFE_BUFFER_...
Michael Catanzaro
noreply at github.com
Tue Oct 29 15:27:14 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 513711162fa0cf24c5da27ffb75e9c83ad732af6
https://github.com/WebKit/WebKit/commit/513711162fa0cf24c5da27ffb75e9c83ad732af6
Author: Michael Catanzaro <mcatanzaro at redhat.com>
Date: 2024-10-29 (Tue, 29 Oct 2024)
Changed paths:
M Source/WTF/wtf/glib/GSpanExtras.h
M Source/WebKit/NetworkProcess/soup/WebSocketTaskSoup.cpp
M Source/WebKit/Shared/glib/ArgumentCodersGLib.cpp
M Source/WebKit/UIProcess/gtk/KeyBindingTranslator.cpp
Log Message:
-----------
[WPE][GTK] Remove various WTF_ALLOW_UNSAFE_BUFFER_USAGE_BEGIN
https://bugs.webkit.org/show_bug.cgi?id=282239
Reviewed by Adrian Perez de Castro.
Add helpers to convert GByteArray and GVariant to std::span, and use
them where appropriate.
Also, use the existing GBytes -> std::span helper in
WebSocketTaskSoup.cpp.
Also, the suppressions in KeyBindingTranslator.cpp are no longer needed
since 285804 at main.
* Source/WTF/wtf/glib/GSpanExtras.h:
(WTF::span):
* Source/WebKit/NetworkProcess/soup/WebSocketTaskSoup.cpp:
(WebKit::WebSocketTask::didReceiveMessageCallback):
* Source/WebKit/Shared/glib/ArgumentCodersGLib.cpp:
(IPC::ArgumentCoder<GRefPtr<GByteArray>>::encode):
(IPC::ArgumentCoder<GRefPtr<GVariant>>::encode):
* Source/WebKit/UIProcess/gtk/KeyBindingTranslator.cpp:
(WebKit::deleteFromCursorCallback):
(WebKit::moveCursorCallback):
Canonical link: https://commits.webkit.org/285862@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