Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ea9518d268c23404bfa537d2645f570219748f84
      
https://github.com/WebKit/WebKit/commit/ea9518d268c23404bfa537d2645f570219748f84
  Author: tusooa <[email protected]>
  Date:   2026-04-15 (Wed, 15 Apr 2026)

  Changed paths:
    M Source/WebKit/UIProcess/API/wpe/qt6/WPEDisplayQtQuick.cpp

  Log Message:
  -----------
  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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to