Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 945e4484972dbcbfe21026fa7d166b44432222fd
https://github.com/WebKit/WebKit/commit/945e4484972dbcbfe21026fa7d166b44432222fd
Author: Adrian Perez de Castro <[email protected]>
Date: 2026-01-27 (Tue, 27 Jan 2026)
Changed paths:
M Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp
Log Message:
-----------
[GLib] Reduce WTF_ALLOW_UNSAFE_BUFFER_USAGE in WebProcessPoolGLib.cpp
https://bugs.webkit.org/show_bug.cgi?id=306321
Reviewed by Carlos Garcia Campos.
Change code that reads environment variables to use CStringView to wrap
values obtained by getenv(), which avoids needing to use strcmp() while
making string comparisons more readable.
While at it, prefer WTF_IGNORE_WARNINGS_IN_THIRD_PARTY_CODE_{BEGIN,END}
around header inclusions.
Unfortunately the use of WTF_ALLOW_UNSAFE_BUFFER_USAGE_{BEGIN,END}
around the check for Valgrind may not be removed, as the code for the
RUNNING_ON_VALGRIND macro comes from Valgrind itself.
* Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp:
(WebKit::WebProcessPool::platformInitialize):
(WebKit::WebProcessPool::setSandboxEnabled):
Canonical link: https://commits.webkit.org/306274@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications