Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3c4b21bf290f0c34f91c78994cb54acdbf088b9c
      
https://github.com/WebKit/WebKit/commit/3c4b21bf290f0c34f91c78994cb54acdbf088b9c
  Author: Claudio Saavedra <[email protected]>
  Date:   2024-11-21 (Thu, 21 Nov 2024)

  Changed paths:
    M Source/WTF/wtf/glib/GSpanExtras.h
    M Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp

  Log Message:
  -----------
  [GTK][WPE] Adopt std::span in webkit_web_context_set_preferred_languages()
https://bugs.webkit.org/show_bug.cgi?id=283424

Reviewed by Adrian Perez de Castro.

Add a helper to fill a std::span with a strv (char**) and use it
to avoid accessing a raw array when setting preferred languages
in a web context.

* Source/WTF/wtf/glib/GSpanExtras.h:
* Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp:

Canonical link: https://commits.webkit.org/286900@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to