Branch: refs/heads/webkitglib/2.52
Home: https://github.com/WebKit/WebKit
Commit: a4380724fc1fa75739619a31c4f5a860a059c8f7
https://github.com/WebKit/WebKit/commit/a4380724fc1fa75739619a31c4f5a860a059c8f7
Author: tusooa <[email protected]>
Date: 2026-04-16 (Thu, 16 Apr 2026)
Changed paths:
M Source/WebKit/UIProcess/API/wpe/qt6/WPEDisplayQtQuick.cpp
Log Message:
-----------
Cherry-pick 311311@main (ea9518d268c2).
https://bugs.webkit.org/show_bug.cgi?id=312154
Use const char* instead of CString in WPEDisplayQtQuick
https://bugs.webkit.org/show_bug.cgi?id=312154
Reviewed by Claudio Saavedra.
Under some environments, CString::CString(const char *), which is
implemented in WTF, cannot be directly used in libraries that only
link to WebKit. Otherwise a linking-time missing symbol error will
occur.
eglQueryDeviceStringEXT returns pointers to static data, so
not taking an owned copy of the returned string should cause no
problem. The two variables are very soon passed to wpe_drm_device_new,
which then uses CString to copy and own the data.
Compile-time only change, no runtime tests needed.
* Source/WebKit/UIProcess/API/wpe/qt6/WPEDisplayQtQuick.cpp:
(wpeDisplayQtQuickConnect):
Canonical link: https://commits.webkit.org/311311@main
Canonical link: https://commits.webkit.org/305877.434@webkitglib/2.52
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications