Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ef7a0c828acda77bc8684749ae71f53c148f2e3f
https://github.com/WebKit/WebKit/commit/ef7a0c828acda77bc8684749ae71f53c148f2e3f
Author: Adrian Perez de Castro <[email protected]>
Date: 2026-02-02 (Mon, 02 Feb 2026)
Changed paths:
M Source/WebKit/UIProcess/wpe/AcceleratedBackingStore.cpp
M Source/WebKit/UIProcess/wpe/WebPageProxyWPE.cpp
M Source/WebKit/UIProcess/wpe/WebPasteboardProxyWPE.cpp
Log Message:
-----------
[WPE] Drop WTF_ALLOW_UNSAFE_BUFFER_USAGE under Source/WebKit/UIProcess/wpe/
https://bugs.webkit.org/show_bug.cgi?id=306728
Reviewed by Carlos Garcia Campos.
* Source/WebKit/UIProcess/wpe/AcceleratedBackingStore.cpp: Remove
WTF_ALLOW_UNSAFE_BUFFER_USAGE_{BEGIN,END} around Skia header includes,
as WTF_IGNORE_WARNINGS_IN_THIRD_PARTY_CODE_{BEGIN,END} already prevents
the warnings.
* Source/WebKit/UIProcess/wpe/WebPageProxyWPE.cpp:
(WebKit::WebPageProxy::preferredBufferFormats const): Use a std::span to
wrap the GArray retuned by wpe_buffer_formats_get_format_modifiers() and
use that to directly instantiate RendererBufferFormat::Format objects,
without needing an explicit loop.
* Source/WebKit/UIProcess/wpe/WebPasteboardProxyWPE.cpp:
(WebKit::clipboardFormats): Use a std::span to help convert a GStrv to
a Vector<String> by taking advantage of the Vector constructor that
takes a lambda as element generator.
(WebKit::WebPasteboardProxy::typesSafeForDOMToReadAndWrite): Use a
std::span to iterate over the GStrv of clipboard formats.
Canonical link: https://commits.webkit.org/306624@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications