[webkit-changes] [WebKit/WebKit] ecf3e3: Use std::span more with SharedBuffer

Chris Dumez noreply at github.com
Tue Mar 26 08:33:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ecf3e3d1ec36e14c2443a13f92e25f34ff9f52df
      https://github.com/WebKit/WebKit/commit/ecf3e3d1ec36e14c2443a13f92e25f34ff9f52df
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-03-26 (Tue, 26 Mar 2024)

  Changed paths:
    M Source/WTF/wtf/FileSystem.h
    M Source/WTF/wtf/Vector.h
    M Source/WTF/wtf/posix/FileSystemPOSIX.cpp
    M Source/WTF/wtf/text/AtomStringImpl.h
    M Source/WTF/wtf/text/StringCommon.h
    M Source/WTF/wtf/text/StringImpl.h
    M Source/WTF/wtf/text/StringView.h
    M Source/WTF/wtf/win/FileSystemWin.cpp
    M Source/WebCore/Modules/async-clipboard/ClipboardItemBindingsDataSource.cpp
    M Source/WebCore/Modules/cache/DOMCache.cpp
    M Source/WebCore/Modules/encryptedmedia/InitDataRegistry.cpp
    M Source/WebCore/Modules/encryptedmedia/MediaKeySession.cpp
    M Source/WebCore/Modules/encryptedmedia/MediaKeys.cpp
    M Source/WebCore/Modules/fetch/FetchBodyConsumer.cpp
    M Source/WebCore/Modules/fetch/FetchResponse.cpp
    M Source/WebCore/Modules/highlight/AppHighlightRangeData.cpp
    M Source/WebCore/Modules/mediasource/SourceBuffer.cpp
    M Source/WebCore/Modules/mediasource/SourceBuffer.h
    M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCDataChannelHandler.cpp
    M Source/WebCore/css/CSSFontFaceSource.cpp
    M Source/WebCore/editing/cocoa/EditorCocoa.mm
    M Source/WebCore/html/ImageBitmap.cpp
    M Source/WebCore/inspector/agents/InspectorNetworkAgent.cpp
    M Source/WebCore/loader/FrameLoader.cpp
    M Source/WebCore/loader/archive/mhtml/MHTMLArchive.cpp
    M Source/WebCore/loader/archive/mhtml/MHTMLParser.cpp
    M Source/WebCore/page/ShareDataReader.cpp
    M Source/WebCore/platform/Decimal.cpp
    M Source/WebCore/platform/PasteboardCustomData.cpp
    M Source/WebCore/platform/SharedBuffer.cpp
    M Source/WebCore/platform/SharedBuffer.h
    M Source/WebCore/platform/SharedBufferChunkReader.cpp
    M Source/WebCore/platform/SharedMemory.h
    M Source/WebCore/platform/audio/cocoa/AudioFileReaderCocoa.cpp
    M Source/WebCore/platform/audio/cocoa/AudioFileReaderCocoa.h
    M Source/WebCore/platform/encryptedmedia/CDMProxy.h
    M Source/WebCore/platform/encryptedmedia/clearkey/CDMClearKey.cpp
    M Source/WebCore/platform/generic/KeyedEncoderGeneric.cpp
    M Source/WebCore/platform/glib/KeyedEncoderGlib.cpp
    M Source/WebCore/platform/graphics/avfoundation/CDMFairPlayStreaming.cpp
    M Source/WebCore/platform/graphics/avfoundation/objc/CDMSessionAVContentKeySession.mm
    M Source/WebCore/platform/graphics/cocoa/SourceBufferParserWebM.cpp
    M Source/WebCore/platform/graphics/cocoa/VP9UtilitiesCocoa.mm
    M Source/WebCore/platform/graphics/cocoa/WebMAudioUtilitiesCocoa.h
    M Source/WebCore/platform/graphics/cocoa/WebMAudioUtilitiesCocoa.mm
    M Source/WebCore/platform/graphics/gstreamer/eme/CDMThunder.cpp
    M Source/WebCore/platform/graphics/gtk/ImageAdapterGtk.cpp
    M Source/WebCore/platform/image-decoders/ico/ICOImageDecoder.cpp
    M Source/WebCore/platform/image-decoders/jpeg/JPEGImageDecoder.cpp
    M Source/WebCore/platform/mediarecorder/MediaRecorderPrivateGStreamer.cpp
    M Source/WebCore/platform/network/BlobResourceHandle.cpp
    M Source/WebCore/platform/network/BlobResourceHandle.h
    M Source/WebCore/platform/network/FormDataBuilder.cpp
    M Source/WebCore/platform/win/ClipboardUtilitiesWin.cpp
    M Source/WebCore/testing/MockCDMFactory.cpp
    M Source/WebCore/testing/MockContentFilter.cpp
    M Source/WebCore/workers/ScriptBuffer.cpp
    M Source/WebCore/workers/service/background-fetch/BackgroundFetch.cpp
    M Source/WebCore/workers/service/context/ServiceWorkerFetch.cpp
    M Source/WebKit/GPUProcess/media/RemoteLegacyCDMSessionProxy.cpp
    M Source/WebKit/NetworkProcess/NetworkDataTaskBlob.cpp
    M Source/WebKit/NetworkProcess/NetworkDataTaskBlob.h
    M Source/WebKit/NetworkProcess/cache/NetworkCacheEntry.cpp
    M Source/WebKit/NetworkProcess/storage/CacheStorageDiskStore.cpp
    M Source/WebKit/Shared/WebCompiledContentRuleList.cpp
    M Source/WebKit/UIProcess/API/glib/WebKitURISchemeRequest.cpp
    M Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp
    M Source/WebKit/UIProcess/API/gtk/DropTargetGtk3.cpp
    M Source/WebKit/UIProcess/Cocoa/SOAuthorization/SubFrameSOAuthorizationSession.mm
    M Source/WebKit/UIProcess/Inspector/socket/RemoteInspectorProtocolHandler.cpp
    M Source/WebKit/UIProcess/Inspector/win/InspectorResourceURLSchemeHandler.cpp
    M Source/WebKit/UIProcess/gtk/ClipboardGtk3.cpp
    M Source/WebKit/WebProcess/GPU/media/RemoteLegacyCDMSession.cpp
    M Source/WebKit/WebProcess/GPU/webrtc/MediaRecorderPrivate.cpp
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp
    M Source/WebKit/WebProcess/WebPage/gtk/WebPrintOperationGtk.cpp
    M Tools/TestWebKitAPI/Tests/WebCore/SharedBuffer.cpp
    M Tools/TestWebKitAPI/Tests/WebCore/cocoa/SharedBuffer.mm

  Log Message:
  -----------
  Use std::span more with SharedBuffer
https://bugs.webkit.org/show_bug.cgi?id=271534

Reviewed by Darin Adler.

Source/WTF/wtf/FileSystem.h
Source/WTF/wtf/Vector.h
Source/WTF/wtf/posix/FileSystemPOSIX.cpp
Source/WTF/wtf/text/AtomStringImpl.h
Source/WTF/wtf/text/StringCommon.h
Source/WTF/wtf/text/StringImpl.h
Source/WTF/wtf/text/StringView.h
Source/WTF/wtf/win/FileSystemWin.cpp
Source/WebCore/Modules/async-clipboard/ClipboardItemBindingsDataSource.cpp
Source/WebCore/Modules/cache/DOMCache.cpp
Source/WebCore/Modules/encryptedmedia/InitDataRegistry.cpp
Source/WebCore/Modules/encryptedmedia/MediaKeySession.cpp
Source/WebCore/Modules/encryptedmedia/MediaKeys.cpp
Source/WebCore/Modules/fetch/FetchBodyConsumer.cpp
Source/WebCore/Modules/fetch/FetchResponse.cpp
Source/WebCore/Modules/highlight/AppHighlightRangeData.cpp
Source/WebCore/Modules/mediasource/SourceBuffer.cpp
Source/WebCore/Modules/mediasource/SourceBuffer.h
Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCDataChannelHandler.cpp
Source/WebCore/css/CSSFontFaceSource.cpp
Source/WebCore/html/ImageBitmap.cpp
Source/WebCore/inspector/agents/InspectorNetworkAgent.cpp
Source/WebCore/loader/FrameLoader.cpp
Source/WebCore/loader/archive/mhtml/MHTMLArchive.cpp
Source/WebCore/loader/archive/mhtml/MHTMLParser.cpp
Source/WebCore/page/ShareDataReader.cpp
Source/WebCore/platform/Decimal.cpp
Source/WebCore/platform/PasteboardCustomData.cpp
Source/WebCore/platform/SharedBuffer.cpp
Source/WebCore/platform/SharedBuffer.h
Source/WebCore/platform/SharedBufferChunkReader.cpp
Source/WebCore/platform/SharedMemory.h
Source/WebCore/platform/audio/cocoa/AudioFileReaderCocoa.cpp
Source/WebCore/platform/audio/cocoa/AudioFileReaderCocoa.h
Source/WebCore/platform/encryptedmedia/CDMProxy.h
Source/WebCore/platform/encryptedmedia/clearkey/CDMClearKey.cpp
Source/WebCore/platform/generic/KeyedEncoderGeneric.cpp
Source/WebCore/platform/glib/KeyedEncoderGlib.cpp
Source/WebCore/platform/graphics/avfoundation/CDMFairPlayStreaming.cpp
Source/WebCore/platform/graphics/avfoundation/objc/CDMSessionAVContentKeySession.mm
Source/WebCore/platform/graphics/cocoa/SourceBufferParserWebM.cpp
Source/WebCore/platform/graphics/cocoa/VP9UtilitiesCocoa.mm
Source/WebCore/platform/graphics/cocoa/WebMAudioUtilitiesCocoa.h
Source/WebCore/platform/graphics/cocoa/WebMAudioUtilitiesCocoa.mm
Source/WebCore/platform/graphics/gstreamer/eme/CDMThunder.cpp
Source/WebCore/platform/graphics/gtk/ImageAdapterGtk.cpp
Source/WebCore/platform/image-decoders/ico/ICOImageDecoder.cpp
Source/WebCore/platform/image-decoders/jpeg/JPEGImageDecoder.cpp
Source/WebCore/platform/mediarecorder/MediaRecorderPrivateGStreamer.cpp
Source/WebCore/platform/network/BlobResourceHandle.cpp
Source/WebCore/platform/network/BlobResourceHandle.h
Source/WebCore/platform/network/FormDataBuilder.cpp
Source/WebCore/platform/win/ClipboardUtilitiesWin.cpp
Source/WebCore/testing/MockCDMFactory.cpp
Source/WebCore/testing/MockContentFilter.cpp
Source/WebCore/workers/ScriptBuffer.cpp
Source/WebCore/workers/service/background-fetch/BackgroundFetch.cpp
Source/WebCore/workers/service/context/ServiceWorkerFetch.cpp
Source/WebKit/GPUProcess/media/RemoteLegacyCDMSessionProxy.cpp
Source/WebKit/NetworkProcess/NetworkDataTaskBlob.cpp
Source/WebKit/NetworkProcess/NetworkDataTaskBlob.h
Source/WebKit/NetworkProcess/cache/NetworkCacheEntry.cpp
Source/WebKit/NetworkProcess/storage/CacheStorageDiskStore.cpp
Source/WebKit/Shared/WebCompiledContentRuleList.cpp
Source/WebKit/UIProcess/API/glib/WebKitURISchemeRequest.cpp
Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp
Source/WebKit/UIProcess/API/gtk/DropTargetGtk3.cpp
Source/WebKit/UIProcess/Cocoa/SOAuthorization/SubFrameSOAuthorizationSession.mm
Source/WebKit/UIProcess/Inspector/socket/RemoteInspectorProtocolHandler.cpp
Source/WebKit/UIProcess/Inspector/win/InspectorResourceURLSchemeHandler.cpp
Source/WebKit/UIProcess/gtk/ClipboardGtk3.cpp
Source/WebKit/WebProcess/GPU/media/RemoteLegacyCDMSession.cpp
Source/WebKit/WebProcess/GPU/webrtc/MediaRecorderPrivate.cpp
Source/WebKit/WebProcess/WebPage/WebPage.cpp
Source/WebKit/WebProcess/WebPage/gtk/WebPrintOperationGtk.cpp
Tools/TestWebKitAPI/Tests/WebCore/SharedBuffer.cpp
Tools/TestWebKitAPI/Tests/WebCore/cocoa/SharedBuffer.mm

Canonical link: https://commits.webkit.org/276693@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