[webkit-changes] [WebKit/WebKit] c1c9b7: Add Vector::appendList() function which takes in a...

Chris Dumez noreply at github.com
Wed Oct 4 16:19:41 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c1c9b7014e95a86527bdc43271a0b2d688c02dc2
      https://github.com/WebKit/WebKit/commit/c1c9b7014e95a86527bdc43271a0b2d688c02dc2
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-10-04 (Wed, 04 Oct 2023)

  Changed paths:
    M Source/WTF/wtf/URLParser.cpp
    M Source/WTF/wtf/Vector.h
    M Source/WebCore/PAL/pal/text/TextCodecCJK.cpp
    M Source/WebCore/platform/graphics/cg/GradientRendererCG.cpp
    M Source/WebCore/platform/graphics/gstreamer/eme/CDMThunder.cpp
    M Source/WebCore/platform/mock/MockRealtimeVideoSource.cpp
    M Source/WebCore/platform/text/LocaleNone.cpp
    M Source/WebKit/NetworkProcess/webrtc/NetworkRTCTCPSocketCocoa.mm
    M Tools/TestWebKitAPI/Tests/WTF/Vector.cpp

  Log Message:
  -----------
  Add Vector::appendList() function which takes in a std::initializer_list
https://bugs.webkit.org/show_bug.cgi?id=262598

Reviewed by Brent Fulgham.

Add Vector::appendList() function which takes in a std::initializer_list
and use it in a few places.

Note that we already have a Vector constructor taking a std::initializer_list.

* Source/WTF/wtf/URLParser.cpp:
(WTF::appendCodePoint):
* Source/WTF/wtf/Vector.h:
(WTF::Vector::appendList):
* Source/WebCore/PAL/pal/text/TextCodecCJK.cpp:
(PAL::urlEncodedEntityUnencodableHandler):
(PAL::entityUnencodableHandler):
* Source/WebCore/platform/graphics/cg/GradientRendererCG.cpp:
(WebCore::GradientRendererCG::makeGradient const):
* Source/WebCore/platform/graphics/gstreamer/eme/CDMThunder.cpp:
(WebCore::CDMPrivateThunder::supportedInitDataTypes const):
* Source/WebCore/platform/mock/MockRealtimeVideoSource.cpp:
* Source/WebCore/platform/text/LocaleNone.cpp:
(WebCore::LocaleNone::timeAMPMLabels):
* Source/WebKit/NetworkProcess/webrtc/NetworkRTCTCPSocketCocoa.mm:
(WebKit::NetworkRTCTCPSocketCocoa::createMessageBuffer):
* Tools/TestWebKitAPI/Tests/WTF/Vector.cpp:
(TestWebKitAPI::TEST):

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




More information about the webkit-changes mailing list