[webkit-changes] [WebKit/WebKit] 67d73e: Use StdMap for LibWebRTCSocket::m_options

youennf noreply at github.com
Sun Dec 22 14:12:10 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 67d73e2ea460efffa4b167394aed4e626d2798d8
      https://github.com/WebKit/WebKit/commit/67d73e2ea460efffa4b167394aed4e626d2798d8
  Author: Youenn Fablet <youenn at apple.com>
  Date:   2024-12-22 (Sun, 22 Dec 2024)

  Changed paths:
    M Source/WebKit/WebProcess/Network/webrtc/LibWebRTCSocket.cpp
    M Source/WebKit/WebProcess/Network/webrtc/LibWebRTCSocket.h

  Log Message:
  -----------
  Use StdMap for LibWebRTCSocket::m_options
rdar://141810943
https://bugs.webkit.org/show_bug.cgi?id=285009

Reviewed by Eric Carlson.

We remove the std::array and use a std map instead as it removes the need to get right the option max value.

* Source/WebKit/WebProcess/Network/webrtc/LibWebRTCSocket.cpp:
(WebKit::LibWebRTCSocket::GetOption):
(WebKit::LibWebRTCSocket::SetOption):
* Source/WebKit/WebProcess/Network/webrtc/LibWebRTCSocket.h:

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



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


More information about the webkit-changes mailing list