-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start switching WTF::Span to std::span #13888
Merged
webkit-commit-queue
merged 1 commit into
WebKit:main
from
achristensen07:eng/Start-switching-WTFSpan-to-stdspan
May 15, 2023
Merged
Start switching WTF::Span to std::span #13888
webkit-commit-queue
merged 1 commit into
WebKit:main
from
achristensen07:eng/Start-switching-WTFSpan-to-stdspan
May 15, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
achristensen07
requested review from
cdumez,
b-weinstein,
xeenon,
zdobersek,
rniwa,
a team and
JonWBedard
as code owners
May 15, 2023 18:45
cdumez
approved these changes
May 15, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rs=me assuming the bots are happy.
achristensen07
added
the
unsafe-merge-queue
Applied to send a pull request to merge-queue, but skip building and testing
label
May 15, 2023
https://bugs.webkit.org/show_bug.cgi?id=256797 rdar://109364322 Reviewed by Chris Dumez. We recently stopped supporting compilers that don't have a std::span implementation. This gets the bulk of the changes done, then we can come by and remove wtf/Span.h * Source/JavaScriptCore/jsc.cpp: (JSC_DEFINE_HOST_FUNCTION): * Source/WTF/wtf/FileSystem.cpp: (WTF::FileSystemImpl::mapToFile): (WTF::FileSystemImpl::overwriteEntireFile): * Source/WTF/wtf/FileSystem.h: * Source/WTF/wtf/SHA1.cpp: (WTF::SHA1::addBytes): * Source/WTF/wtf/SHA1.h: (WTF::SHA1::addBytes): * Source/WTF/wtf/SortedArrayMap.h: (WTF::subset>::parse): * Source/WTF/wtf/StackTrace.h: (WTF::StackTrace::stack const): (WTF::StackTraceSymbolResolver::StackTraceSymbolResolver): (WTF::StackTracePrinter::StackTracePrinter): * Source/WTF/wtf/URL.cpp: (WTF::percentEncodeCharacters): * Source/WTF/wtf/UUID.h: (WTF::UUID::UUID): (WTF::UUID::toSpan const): * Source/WTF/wtf/Vector.h: (WTF::Vector::Vector): (WTF::Vector::span const): (WTF::Vector::append): (WTF::Vector::uncheckedAppend): * Source/WTF/wtf/cf/SpanCF.h: (WTF::asBytes): * Source/WTF/wtf/cocoa/SpanCocoa.h: (WTF::asBytes): (WTF::asUInt8Span): * Source/WTF/wtf/persistence/PersistentDecoder.cpp: (WTF::Persistence::Decoder::Decoder): (WTF::Persistence::Decoder::decodeFixedLengthData): * Source/WTF/wtf/persistence/PersistentDecoder.h: * Source/WTF/wtf/persistence/PersistentEncoder.cpp: (WTF::Persistence::Encoder::updateChecksumForData): (WTF::Persistence::Encoder::encodeFixedLengthData): * Source/WTF/wtf/persistence/PersistentEncoder.h: * Source/WTF/wtf/text/ASCIILiteral.h: * Source/WTF/wtf/text/Base64.cpp: (WTF::base64EncodeInternal): (WTF::base64Encode): (WTF::base64EncodeToVector): (WTF::base64EncodeToString): (WTF::base64EncodeToStringReturnNullIfOverflow): (WTF::base64DecodeInternal): (WTF::base64Decode): * Source/WTF/wtf/text/Base64.h: (WTF::base64EncodeToVector): (WTF::base64EncodeToString): (WTF::base64EncodeToStringReturnNullIfOverflow): (WTF::base64Decode): (WTF::base64URLEncodeToVector): (WTF::base64URLEncodeToString): (WTF::base64URLDecode): (WTF::base64Encoded): (WTF::base64URLEncoded): * Source/WTF/wtf/text/CString.h: * Source/WTF/wtf/text/StringBuilder.h: (WTF::StringBuilder::span const): * Source/WTF/wtf/text/StringImpl.cpp: (WTF::StringImpl::utf8ForCharacters): * Source/WTF/wtf/text/StringImpl.h: (WTF::StringImpl::tryGetUTF8 const): (WTF::StringImpl::tryGetUTF8ForCharacters): * Source/WTF/wtf/text/StringSearch.h: (WTF::BoyerMooreHorspoolTable::initializeTable): * Source/WTF/wtf/text/StringView.h: (WTF::StringView::tryGetUTF8 const): * Source/WTF/wtf/text/WTFString.cpp: (WTF::makeStringByJoining): * Source/WTF/wtf/text/WTFString.h: (WTF::String::tryGetUTF8 const): * Source/WebCore/Modules/fetch/FetchResponse.h: * Source/WebCore/Modules/fetch/FormDataConsumer.cpp: (WebCore::FormDataConsumer::read): (WebCore::FormDataConsumer::consumeBlob): (WebCore::FormDataConsumer::consume): * Source/WebCore/Modules/fetch/FormDataConsumer.h: * Source/WebCore/Modules/mediastream/RTCRtpSFrameTransform.cpp: (WebCore::processFrame): (WebCore::transformFrame): * Source/WebCore/Modules/mediastream/RTCRtpSFrameTransformer.cpp: (WebCore::RTCRtpSFrameTransformer::decryptFrame): (WebCore::RTCRtpSFrameTransformer::encryptFrame): (WebCore::RTCRtpSFrameTransformer::transform): * Source/WebCore/Modules/mediastream/RTCRtpSFrameTransformer.h: * Source/WebCore/Modules/mediastream/RTCRtpTransformableFrame.h: * Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCRtpTransformableFrame.cpp: (WebCore::LibWebRTCRtpTransformableFrame::data const): (WebCore::LibWebRTCRtpTransformableFrame::setData): * Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCRtpTransformableFrame.h: * Source/WebCore/Modules/push-api/PushCrypto.cpp: (WebCore::PushCrypto::validateP256DHPublicKey): (WebCore::PushCrypto::computeP256DHSharedSecret): (WebCore::PushCrypto::hmacSHA256): (WebCore::PushCrypto::decryptAES128GCM): * Source/WebCore/Modules/push-api/PushCrypto.h: * Source/WebCore/Modules/push-api/PushDatabase.cpp: (WebCore::uuidToSpan): (WebCore::uuidFromSpan): (WebCore::PushDatabase::updatePublicToken): * Source/WebCore/Modules/push-api/PushDatabase.h: * Source/WebCore/Modules/push-api/PushMessageCrypto.cpp: (WebCore::PushCrypto::decryptAES128GCMPayload): (WebCore::PushCrypto::decryptAESGCMPayload): * Source/WebCore/Modules/push-api/PushMessageCrypto.h: * Source/WebCore/Modules/push-api/cocoa/PushCryptoCocoa.cpp: (WebCore::PushCrypto::validateP256DHPublicKey): (WebCore::PushCrypto::computeP256DHSharedSecret): (WebCore::PushCrypto::hmacSHA256): (WebCore::PushCrypto::decryptAES128GCM): * Source/WebCore/Modules/streams/ReadableStreamSink.cpp: (WebCore::ReadableStreamToSharedBufferSink::enqueue): * Source/WebCore/Modules/streams/ReadableStreamSink.h: * Source/WebCore/Modules/webauthn/AuthenticationExtensionsClientInputs.cpp: (WebCore::AuthenticationExtensionsClientInputs::fromCBOR): * Source/WebCore/Modules/webauthn/AuthenticationExtensionsClientInputs.h: * Source/WebCore/Modules/webauthn/AuthenticatorResponseData.h: (WebCore::decodeArrayBuffer): * Source/WebCore/Modules/webauthn/cbor/CBORReader.h: * Source/WebCore/Modules/webcodecs/WebCodecsEncodedVideoChunk.cpp: (WebCore::WebCodecsEncodedVideoChunk::WebCodecsEncodedVideoChunk): * Source/WebCore/Modules/webcodecs/WebCodecsVideoDecoder.cpp: (WebCore::createVideoDecoderConfig): * Source/WebCore/Modules/webcodecs/WebCodecsVideoFrame.cpp: (WebCore::WebCodecsVideoFrame::copyTo): * Source/WebCore/accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::inheritsPresentationalRole const): * Source/WebCore/bindings/js/BufferSource.h: (WebCore::BufferSource::BufferSource): (WebCore::BufferSource::span const): * Source/WebCore/bindings/js/SerializedScriptValue.h: (WebCore::SerializedScriptValue::decode): * Source/WebCore/contentextensions/CompiledContentExtension.h: * Source/WebCore/contentextensions/ContentExtensionActions.cpp: (WebCore::ContentExtensions::append): (WebCore::ContentExtensions::uncheckedAppend): (WebCore::ContentExtensions::deserializeLength): (WebCore::ContentExtensions::deserializeUTF8String): (WebCore::ContentExtensions::ModifyHeadersAction::deserialize): (WebCore::ContentExtensions::ModifyHeadersAction::serializedLength): (WebCore::ContentExtensions::ModifyHeadersAction::ModifyHeaderInfo::deserialize): (WebCore::ContentExtensions::ModifyHeadersAction::ModifyHeaderInfo::serializedLength): (WebCore::ContentExtensions::RedirectAction::deserialize): (WebCore::ContentExtensions::RedirectAction::serializedLength): (WebCore::ContentExtensions::RedirectAction::RegexSubstitutionAction::deserialize): (WebCore::ContentExtensions::RedirectAction::URLTransformAction::deserialize): (WebCore::ContentExtensions::RedirectAction::URLTransformAction::serializedLength): (WebCore::ContentExtensions::RedirectAction::URLTransformAction::QueryTransform::deserialize): (WebCore::ContentExtensions::RedirectAction::URLTransformAction::QueryTransform::serializedLength): (WebCore::ContentExtensions::RedirectAction::URLTransformAction::QueryTransform::QueryKeyValue::deserialize): (WebCore::ContentExtensions::RedirectAction::URLTransformAction::QueryTransform::QueryKeyValue::serializedLength): * Source/WebCore/contentextensions/ContentExtensionActions.h: (WebCore::ContentExtensions::ActionWithoutMetadata::deserialize): (WebCore::ContentExtensions::ActionWithoutMetadata::serializedLength): (WebCore::ContentExtensions::ActionWithStringMetadata::deserialize): (WebCore::ContentExtensions::ActionWithStringMetadata::serializedLength): * Source/WebCore/contentextensions/ContentExtensionRule.cpp: (WebCore::ContentExtensions::VariantDeserializerHelper::serializedLength): (WebCore::ContentExtensions::DeserializedAction::deserialize): (WebCore::ContentExtensions::DeserializedAction::serializedLength): * Source/WebCore/contentextensions/ContentExtensionRule.h: * Source/WebCore/contentextensions/ContentExtensionStringSerialization.cpp: (WebCore::ContentExtensions::deserializeString): (WebCore::ContentExtensions::serializeString): (WebCore::ContentExtensions::stringSerializedLength): * Source/WebCore/contentextensions/ContentExtensionStringSerialization.h: * Source/WebCore/contentextensions/DFABytecodeInterpreter.cpp: (WebCore::ContentExtensions::getBits): (WebCore::ContentExtensions::get24BitsUnsigned): (WebCore::ContentExtensions::getInstruction): (WebCore::ContentExtensions::consumeInteger): (WebCore::ContentExtensions::consume24BitUnsignedInteger): (WebCore::ContentExtensions::consumeResourceFlagsAndInstruction): (WebCore::ContentExtensions::consumeAction): (WebCore::ContentExtensions::getJumpSize): (WebCore::ContentExtensions::getJumpDistance): (WebCore::ContentExtensions::DFABytecodeInterpreter::interpetJumpTable): (WebCore::ContentExtensions::DFABytecodeInterpreter::interpret): * Source/WebCore/contentextensions/DFABytecodeInterpreter.h: (WebCore::ContentExtensions::DFABytecodeInterpreter::DFABytecodeInterpreter): * Source/WebCore/crypto/mac/CryptoKeyOKPCocoa.cpp: (WebCore::CryptoKeyOKP::importSpki): (WebCore::CryptoKeyOKP::importPkcs8): (WebCore::CryptoKeyOKP::generateJwkX const): * Source/WebCore/css/CSSFontFace.h: * Source/WebCore/css/CSSGridLineNamesValue.cpp: (WebCore::CSSGridLineNamesValue::CSSGridLineNamesValue): (WebCore::CSSGridLineNamesValue::create): * Source/WebCore/css/CSSGridLineNamesValue.h: * Source/WebCore/css/CSSPrimitiveValue.cpp: (WebCore::valueFromPool): * Source/WebCore/css/ComputedStyleExtractor.cpp: (WebCore::ComputedStyleExtractor::copyProperties): * Source/WebCore/css/ComputedStyleExtractor.h: * Source/WebCore/css/MutableStyleProperties.cpp: (WebCore::span): (WebCore::MutableStyleProperties::removeProperties): * Source/WebCore/css/MutableStyleProperties.h: * Source/WebCore/css/StyleProperties.cpp: (WebCore::StyleProperties::copyProperties const): * Source/WebCore/css/StyleProperties.h: * Source/WebCore/dom/DocumentSharedObjectPool.cpp: (WebCore::DocumentSharedObjectPool::ShareableElementDataHash::hash): (WebCore::AttributeSpanTranslator::hash): (WebCore::AttributeSpanTranslator::equal): (WebCore::AttributeSpanTranslator::translate): (WebCore::DocumentSharedObjectPool::cachedShareableElementDataWithAttributes): * Source/WebCore/dom/DocumentSharedObjectPool.h: * Source/WebCore/dom/Element.cpp: (WebCore::Element::parserSetAttributes): * Source/WebCore/dom/Element.h: * Source/WebCore/dom/ElementData.cpp: (WebCore::ShareableElementData::createWithAttributes): (WebCore::ShareableElementData::ShareableElementData): * Source/WebCore/dom/ElementData.h: * Source/WebCore/dom/TextEncoder.cpp: (WebCore::TextEncoder::encode const): * Source/WebCore/dom/TreeScope.cpp: (WebCore::TreeScope::adoptedStyleSheets const): * Source/WebCore/dom/TreeScope.h: * Source/WebCore/dom/make_names.pl: (printTagNameHeaderFile): (printTagNameCppFile): (printNodeNameHeaderFile): (printNodeNameCppFile): * Source/WebCore/editing/EditingStyle.cpp: (WebCore::htmlElementEquivalents): (WebCore::htmlAttributeEquivalents): * Source/WebCore/fileapi/NetworkSendQueue.h: * Source/WebCore/html/canvas/CanvasPath.cpp: (WebCore::CanvasPath::roundRect): * Source/WebCore/html/canvas/CanvasPath.h: * Source/WebCore/html/canvas/WebGL2RenderingContext.cpp: (WebCore::WebGL2RenderingContext::vertexAttribI4iv): (WebCore::WebGL2RenderingContext::vertexAttribI4uiv): (WebCore::WebGL2RenderingContext::validateClearBuffer): * Source/WebCore/html/canvas/WebGL2RenderingContext.h: * Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp: (WebCore::WebGLRenderingContextBase::getUniform): (WebCore::WebGLRenderingContextBase::texImageSource): (WebCore::WebGLRenderingContextBase::texImageImpl): (WebCore::WebGLRenderingContextBase::texImage2DBase): (WebCore::WebGLRenderingContextBase::texSubImage2DBase): (WebCore::WebGLRenderingContextBase::validateTexFuncData): (WebCore::WebGLRenderingContextBase::validateUniformMatrixParameters): (WebCore::WebGLRenderingContextBase::vertexAttribfvImpl): * Source/WebCore/html/canvas/WebGLRenderingContextBase.h: (WebCore::WebGLRenderingContextBase::validateUniformParameters): * Source/WebCore/html/parser/AtomHTMLToken.h: (WebCore::AtomHTMLToken::characters const): * Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp: (WebCore::tryFastParsingHTMLFragmentImpl): * Source/WebCore/html/parser/HTMLMetaCharsetParser.cpp: (WebCore::HTMLMetaCharsetParser::encodingFromMetaAttributes): * Source/WebCore/html/parser/HTMLMetaCharsetParser.h: * Source/WebCore/html/parser/HTMLNameCache.h: (WebCore::HTMLNameCache::makeAttributeQualifiedName): (WebCore::HTMLNameCache::makeAttributeValue): (WebCore::HTMLNameCache::makeAtomString): (WebCore::HTMLNameCache::makeQualifiedName): * Source/WebCore/html/parser/HTMLToken.h: (WebCore::HTMLToken::appendToAttributeValue): (WebCore::HTMLToken::appendToCharacter): (WebCore::findAttribute): * Source/WebCore/html/parser/HTMLTokenizer.cpp: (WebCore::HTMLTokenizer::bufferCharacters): * Source/WebCore/html/parser/HTMLTokenizer.h: * Source/WebCore/loader/EmptyClients.h: * Source/WebCore/loader/cache/AllowedFonts.cpp: (WebCore::isFontBinaryAllowed): * Source/WebCore/loader/cache/AllowedFonts.h: * Source/WebCore/page/ChromeClient.h: (WebCore::ChromeClient::addMessageWithArgumentsToConsole): * Source/WebCore/page/PageColorSampler.cpp: (WebCore::averageColor): * Source/WebCore/page/PageConsoleClient.cpp: (WebCore::PageConsoleClient::addMessage): (WebCore::PageConsoleClient::messageWithTypeAndLevel): * Source/WebCore/platform/LegacySchemeRegistry.cpp: (WebCore::builtinSecureSchemes): (WebCore::builtinSchemesWithUniqueOrigins): (WebCore::builtinEmptyDocumentSchemes): (WebCore::builtinCanDisplayOnlyIfCanRequestSchemes): (WebCore::builtinCORSEnabledSchemes): (WebCore::builtinCSPBypassingSchemes): * Source/WebCore/platform/SharedBuffer.cpp: (WebCore::FragmentedSharedBuffer::forEachSegment const): (WebCore::DataSegment::iterate const): (WebCore::FragmentedSharedBuffer::startsWith const): * Source/WebCore/platform/SharedBuffer.h: (WebCore::FragmentedSharedBuffer::append): (WebCore::SharedBuffer::dataAsSpanForContiguousData const): * Source/WebCore/platform/VideoDecoder.h: * Source/WebCore/platform/VideoFrame.cpp: (WebCore::VideoFrame::createNV12): (WebCore::VideoFrame::createRGBA): (WebCore::VideoFrame::createBGRA): (WebCore::VideoFrame::createI420): (WebCore::VideoFrame::copyTo): * Source/WebCore/platform/VideoFrame.h: * Source/WebCore/platform/cocoa/AGXCompilerService.cpp: (WebCore::agxCompilerServices): (WebCore::agxCompilerClasses): * Source/WebCore/platform/cocoa/AGXCompilerService.h: * Source/WebCore/platform/cocoa/SharedBufferCocoa.mm: (WebCore::DataSegment::iterate const): * Source/WebCore/platform/cocoa/SharedVideoFrameInfo.h: * Source/WebCore/platform/cocoa/SharedVideoFrameInfo.mm: (WebCore::SharedVideoFrameInfo::decode): * Source/WebCore/platform/cocoa/VideoFullscreenModelVideoElement.h: * Source/WebCore/platform/cocoa/VideoFullscreenModelVideoElement.mm: (WebCore::VideoFullscreenModelVideoElement::observedEventNames): * Source/WebCore/platform/graphics/ByteArrayPixelBuffer.h: (WebCore::ByteArrayPixelBuffer::decode): * Source/WebCore/platform/graphics/GraphicsContextGL.cpp: (WebCore::GraphicsContextGL::extractTextureData): * Source/WebCore/platform/graphics/GraphicsContextGL.h: * Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.cpp: (WebCore::GraphicsContextGLANGLE::getIntegerv): (WebCore::GraphicsContextGLANGLE::getIntegeri_v): (WebCore::GraphicsContextGLANGLE::getShaderPrecisionFormat): (WebCore::GraphicsContextGLANGLE::texImage2D): (WebCore::GraphicsContextGLANGLE::texSubImage2D): (WebCore::GraphicsContextGLANGLE::compressedTexImage2D): (WebCore::GraphicsContextGLANGLE::compressedTexSubImage2D): (WebCore::GraphicsContextGLANGLE::readnPixels): (WebCore::GraphicsContextGLANGLE::readnPixelsWithStatus): (WebCore::GraphicsContextGLANGLE::bufferData): (WebCore::GraphicsContextGLANGLE::bufferSubData): (WebCore::GraphicsContextGLANGLE::getBufferSubData): (WebCore::GraphicsContextGLANGLE::getInternalformativ): (WebCore::GraphicsContextGLANGLE::texImage3D): (WebCore::GraphicsContextGLANGLE::texSubImage3D): (WebCore::GraphicsContextGLANGLE::compressedTexImage3D): (WebCore::GraphicsContextGLANGLE::compressedTexSubImage3D): (WebCore::GraphicsContextGLANGLE::uniform1fv): (WebCore::GraphicsContextGLANGLE::uniform2fv): (WebCore::GraphicsContextGLANGLE::uniform3fv): (WebCore::GraphicsContextGLANGLE::uniform4fv): (WebCore::GraphicsContextGLANGLE::uniform1iv): (WebCore::GraphicsContextGLANGLE::uniform2iv): (WebCore::GraphicsContextGLANGLE::uniform3iv): (WebCore::GraphicsContextGLANGLE::uniform4iv): (WebCore::GraphicsContextGLANGLE::uniformMatrix2fv): (WebCore::GraphicsContextGLANGLE::uniformMatrix3fv): (WebCore::GraphicsContextGLANGLE::uniformMatrix4fv): (WebCore::GraphicsContextGLANGLE::vertexAttrib1fv): (WebCore::GraphicsContextGLANGLE::vertexAttrib2fv): (WebCore::GraphicsContextGLANGLE::vertexAttrib3fv): (WebCore::GraphicsContextGLANGLE::vertexAttrib4fv): (WebCore::GraphicsContextGLANGLE::getBooleanv): (WebCore::GraphicsContextGLANGLE::getFloatv): (WebCore::GraphicsContextGLANGLE::getUniformfv): (WebCore::GraphicsContextGLANGLE::getUniformiv): (WebCore::GraphicsContextGLANGLE::getUniformuiv): (WebCore::GraphicsContextGLANGLE::invalidateFramebuffer): (WebCore::GraphicsContextGLANGLE::invalidateSubFramebuffer): (WebCore::GraphicsContextGLANGLE::uniform1uiv): (WebCore::GraphicsContextGLANGLE::uniform2uiv): (WebCore::GraphicsContextGLANGLE::uniform3uiv): (WebCore::GraphicsContextGLANGLE::uniform4uiv): (WebCore::GraphicsContextGLANGLE::uniformMatrix2x3fv): (WebCore::GraphicsContextGLANGLE::uniformMatrix3x2fv): (WebCore::GraphicsContextGLANGLE::uniformMatrix2x4fv): (WebCore::GraphicsContextGLANGLE::uniformMatrix4x2fv): (WebCore::GraphicsContextGLANGLE::uniformMatrix3x4fv): (WebCore::GraphicsContextGLANGLE::uniformMatrix4x3fv): (WebCore::GraphicsContextGLANGLE::vertexAttribI4iv): (WebCore::GraphicsContextGLANGLE::vertexAttribI4uiv): (WebCore::GraphicsContextGLANGLE::drawBuffers): (WebCore::GraphicsContextGLANGLE::clearBufferiv): (WebCore::GraphicsContextGLANGLE::clearBufferuiv): (WebCore::GraphicsContextGLANGLE::clearBufferfv): (WebCore::GraphicsContextGLANGLE::getActiveUniformBlockiv): (WebCore::GraphicsContextGLANGLE::drawBuffersEXT): * Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.h: * Source/WebCore/platform/graphics/cocoa/SourceBufferParserWebM.cpp: (WebCore::SourceBufferParserWebM::supportedMIMETypes): * Source/WebCore/platform/graphics/cocoa/SourceBufferParserWebM.h: * Source/WebCore/platform/graphics/cv/VideoFrameCV.mm: (WebCore::VideoFrame::createNV12): (WebCore::VideoFrame::createRGBA): (WebCore::VideoFrame::createBGRA): (WebCore::VideoFrame::createI420): (WebCore::copyRGBData): (WebCore::copyNV12): (WebCore::copyI420): (WebCore::VideoFrame::copyTo): * Source/WebCore/platform/graphics/filters/FEComposite.cpp: (WebCore::FEComposite::calculateImageRect const): * Source/WebCore/platform/graphics/filters/FEComposite.h: * Source/WebCore/platform/graphics/filters/FEConvolveMatrix.cpp: (WebCore::FEConvolveMatrix::calculateImageRect const): * Source/WebCore/platform/graphics/filters/FEConvolveMatrix.h: * Source/WebCore/platform/graphics/filters/FEDisplacementMap.cpp: (WebCore::FEDisplacementMap::calculateImageRect const): * Source/WebCore/platform/graphics/filters/FEDisplacementMap.h: * Source/WebCore/platform/graphics/filters/FEDropShadow.cpp: (WebCore::FEDropShadow::calculateImageRect const): * Source/WebCore/platform/graphics/filters/FEDropShadow.h: * Source/WebCore/platform/graphics/filters/FEFlood.cpp: (WebCore::FEFlood::calculateImageRect const): * Source/WebCore/platform/graphics/filters/FEFlood.h: * Source/WebCore/platform/graphics/filters/FEGaussianBlur.cpp: (WebCore::FEGaussianBlur::calculateImageRect const): * Source/WebCore/platform/graphics/filters/FEGaussianBlur.h: * Source/WebCore/platform/graphics/filters/FEImage.cpp: (WebCore::FEImage::calculateImageRect const): * Source/WebCore/platform/graphics/filters/FEImage.h: * Source/WebCore/platform/graphics/filters/FELighting.cpp: (WebCore::FELighting::calculateImageRect const): * Source/WebCore/platform/graphics/filters/FELighting.h: * Source/WebCore/platform/graphics/filters/FEMorphology.cpp: (WebCore::FEMorphology::calculateImageRect const): * Source/WebCore/platform/graphics/filters/FEMorphology.h: * Source/WebCore/platform/graphics/filters/FEOffset.cpp: (WebCore::FEOffset::calculateImageRect const): * Source/WebCore/platform/graphics/filters/FEOffset.h: * Source/WebCore/platform/graphics/filters/FETile.cpp: (WebCore::FETile::calculateImageRect const): * Source/WebCore/platform/graphics/filters/FETile.h: * Source/WebCore/platform/graphics/filters/FETurbulence.cpp: (WebCore::FETurbulence::calculateImageRect const): * Source/WebCore/platform/graphics/filters/FETurbulence.h: * Source/WebCore/platform/graphics/filters/FilterEffect.cpp: (WebCore::FilterEffect::calculatePrimitiveSubregion const): (WebCore::FilterEffect::calculateImageRect const): * Source/WebCore/platform/graphics/filters/FilterEffect.h: * Source/WebCore/platform/libwebrtc/LibWebRTCVPXVideoDecoder.cpp: (WebCore::LibWebRTCVPXInternalVideoDecoder::decode): * Source/WebCore/platform/libwebrtc/LibWebRTCVPXVideoEncoder.cpp: (WebCore::LibWebRTCVPXInternalVideoEncoder::OnEncodedImage): * Source/WebCore/platform/mediastream/RealtimeVideoCaptureSource.cpp: (WebCore::RealtimeVideoCaptureSource::standardVideoSizes): * Source/WebCore/platform/mediastream/RealtimeVideoCaptureSource.h: * Source/WebCore/platform/network/ResourceResponseBase.cpp: (WebCore::ResourceResponseBase::includeCertificateInfo const): * Source/WebCore/platform/network/ResourceResponseBase.h: (WebCore::ResourceResponseBase::includeCertificateInfo): (WebCore::ResourceResponseBase::platformCertificateInfo const): * Source/WebCore/platform/network/cf/ResourceResponse.h: * Source/WebCore/platform/network/cocoa/ResourceResponseCocoa.mm: (WebCore::ResourceResponse::platformCertificateInfo const): * Source/WebCore/platform/sql/SQLiteStatement.cpp: (WebCore::SQLiteStatement::bindBlob): (WebCore::SQLiteStatement::columnBlobAsSpan): * Source/WebCore/platform/sql/SQLiteStatement.h: (WebCore::SQLiteStatement::bindImpl): * Source/WebCore/platform/text/TextFlags.cpp: (WebCore::computeFeatureSettingsFromVariants): * Source/WebCore/rendering/RenderSearchField.cpp: (WebCore::RenderSearchField::recentSearches): * Source/WebCore/rendering/RenderSearchField.h: * Source/WebCore/rendering/style/RenderStyle.cpp: (WebCore::RenderStyle::paintTypesForPaintOrder): * Source/WebCore/rendering/style/RenderStyle.h: * Source/WebCore/rendering/svg/SVGResources.cpp: (WebCore::tagSet): * Source/WebCore/style/PropertyCascade.h: (WebCore::Style::PropertyCascade::deferredPropertyIDs const): * Source/WebCore/svg/graphics/filters/SVGFilterGraph.h: (WebCore::SVGFilterGraph::getNamedNodes const): * Source/WebCore/workers/ScriptBuffer.cpp: (WebCore::ScriptBuffer::append): * Source/WebCore/workers/service/background-fetch/BackgroundFetch.cpp: (WebCore::BackgroundFetch::createFromStore): * Source/WebCore/workers/service/background-fetch/BackgroundFetch.h: * Source/WebCore/workers/service/background-fetch/BackgroundFetchEngine.cpp: (WebCore::BackgroundFetchEngine::addFetchFromStore): * Source/WebCore/workers/service/background-fetch/BackgroundFetchEngine.h: * Source/WebCore/workers/service/server/SWScriptStorage.cpp: (WebCore::SWScriptStorage::store): * Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGLFunctionsGenerated.h: (vertexAttrib1fv): (vertexAttrib2fv): (vertexAttrib3fv): (vertexAttrib4fv): (vertexAttribI4iv): (vertexAttribI4uiv): * Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsDatabaseStore.cpp: (WebKit::ResourceLoadStatisticsDatabaseStore::sortedTables): * Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsDatabaseStore.h: * Source/WebKit/NetworkProcess/DatabaseUtilities.h: * Source/WebKit/NetworkProcess/NetworkLoad.cpp: (WebKit::NetworkLoad::notifyDidReceiveResponse): * Source/WebKit/NetworkProcess/Notifications/Cocoa/WebPushDaemonConnectionCocoa.mm: (WebKit::WebPushD::handleWebPushDaemonMessage): (WebKit::WebPushD::Connection::connectionReceivedEvent): * Source/WebKit/NetworkProcess/PrivateClickMeasurement/PrivateClickMeasurementDatabase.cpp: (WebKit::PCM::Database::sortedTables): * Source/WebKit/NetworkProcess/PrivateClickMeasurement/PrivateClickMeasurementDatabase.h: * Source/WebKit/NetworkProcess/PrivateClickMeasurement/PrivateClickMeasurementManagerInterface.cpp: (WebKit::PCM::handlePCMMessage): (WebKit::PCM::handlePCMMessageSetDebugModeIsEnabled): (WebKit::PCM::handlePCMMessageWithReply): (WebKit::PCM::decodeMessageAndSendToManager): * Source/WebKit/NetworkProcess/PrivateClickMeasurement/PrivateClickMeasurementManagerInterface.h: * Source/WebKit/NetworkProcess/cache/NetworkCacheData.cpp: (WebKit::NetworkCache::Data::mapToFile const): (WebKit::NetworkCache::computeSHA1): * Source/WebKit/NetworkProcess/cache/NetworkCacheData.h: (WebKit::NetworkCache::Data::span const): * Source/WebKit/NetworkProcess/cache/NetworkCacheDataCocoa.mm: (WebKit::NetworkCache::Data::apply const): * Source/WebKit/NetworkProcess/cache/NetworkCacheStorage.cpp: (WebKit::NetworkCache::decodeRecordMetaData): * Source/WebKit/NetworkProcess/storage/CacheStorageDiskStore.cpp: (WebKit::computeSHA1): (WebKit::decodeRecordMetaData): (WebKit::decodeRecordHeader): * Source/WebKit/Platform/IPC/ArgumentCoders.h: * Source/WebKit/Platform/IPC/ArrayReference.h: * Source/WebKit/Platform/IPC/DaemonCoders.cpp: (WebKit::Daemon::Coder<WebCore::CertificateInfo>::decode): * Source/WebKit/Platform/IPC/DaemonDecoder.cpp: (WebKit::Daemon::Decoder::decodeFixedLengthReference): * Source/WebKit/Platform/IPC/DaemonDecoder.h: (WebKit::Daemon::Decoder::Decoder): * Source/WebKit/Platform/IPC/DaemonEncoder.cpp: (WebKit::Daemon::Encoder::encodeFixedLengthData): * Source/WebKit/Platform/IPC/DaemonEncoder.h: * Source/WebKit/Platform/IPC/DataReference.h: * Source/WebKit/Platform/IPC/Decoder.h: (IPC::Decoder::decodeSpan): * Source/WebKit/Platform/IPC/Encoder.h: (IPC::Encoder::encodeSpan): * Source/WebKit/Platform/IPC/StreamClientConnection.h: (IPC::StreamClientConnection::trySendStream): (IPC::StreamClientConnection::trySendSyncStream): (IPC::StreamClientConnection::sendProcessOutOfStreamMessage): * Source/WebKit/Platform/IPC/StreamClientConnectionBuffer.h: (IPC::StreamClientConnectionBuffer::tryAcquire): (IPC::StreamClientConnectionBuffer::tryAcquireAll): (IPC::StreamClientConnectionBuffer::alignedSpan): * Source/WebKit/Platform/IPC/StreamConnectionBuffer.cpp: (IPC::StreamConnectionBuffer::headerForTesting): (IPC::StreamConnectionBuffer::dataForTesting): * Source/WebKit/Platform/IPC/StreamConnectionBuffer.h: * Source/WebKit/Platform/IPC/StreamConnectionEncoder.h: * Source/WebKit/Platform/IPC/StreamServerConnectionBuffer.h: (IPC::StreamServerConnectionBuffer::tryAcquire): (IPC::StreamServerConnectionBuffer::acquireAll): (IPC::StreamServerConnectionBuffer::alignedSpan): * Source/WebKit/Platform/SharedMemory.cpp: (WebKit::SharedMemory::copyBuffer): * Source/WebKit/Shared/API/APIArray.cpp: (API::Array::createStringArray): * Source/WebKit/Shared/API/APIArray.h: * Source/WebKit/Shared/Cocoa/DefaultWebBrowserChecks.h: * Source/WebKit/Shared/Cocoa/DefaultWebBrowserChecks.mm: (WebKit::appBoundDomainsForTesting): * Source/WebKit/Shared/Cocoa/SandboxExtensionCocoa.mm: (WebKit::SandboxExtension::createHandlesForMachLookup): (WebKit::SandboxExtension::createHandlesForIOKitClassExtensions): * Source/WebKit/Shared/EntryPointUtilities/Cocoa/Daemon/PCMDaemonEntryPoint.mm: (WebKit::connectionEventHandler): * Source/WebKit/Shared/SandboxExtension.h: * Source/WebKit/Shared/WebCompiledContentRuleList.cpp: (WebKit::WebCompiledContentRuleList::urlFiltersBytecode const): (WebKit::WebCompiledContentRuleList::topURLFiltersBytecode const): (WebKit::WebCompiledContentRuleList::frameURLFiltersBytecode const): (WebKit::WebCompiledContentRuleList::serializedActions const): (WebKit::WebCompiledContentRuleList::spanWithOffsetAndLength const): * Source/WebKit/Shared/WebCompiledContentRuleList.h: * Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in: * Source/WebKit/UIProcess/API/APIContentRuleListStore.cpp: (API::getData): (API::writeDataToFile): * Source/WebKit/UIProcess/API/C/WKNotificationManager.cpp: (WKNotificationManagerProviderDidClickNotification_b): * Source/WebKit/UIProcess/Notifications/WebNotificationManagerProxy.cpp: (WebKit::WebNotificationManagerProxy::providerDidCloseNotifications): * Source/WebKit/UIProcess/WebFrameProxy.h: * Source/WebKit/UIProcess/WebPageProxy.cpp: (WebKit::gpuIOKitClasses): (WebKit::gpuMachServices): * Source/WebKit/UIProcess/WebPageProxy.h: * Source/WebKit/WebProcess/GPU/graphics/RemoteGraphicsContextGLProxy.cpp: (WebKit::RemoteGraphicsContextGLProxy::readnPixels): (WebKit::RemoteGraphicsContextGLProxy::readnPixelsSharedMemory): * Source/WebKit/WebProcess/GPU/graphics/RemoteGraphicsContextGLProxy.h: * Source/WebKit/WebProcess/GPU/graphics/RemoteGraphicsContextGLProxyFunctionsGenerated.cpp: (WebKit::RemoteGraphicsContextGLProxy::getFloatv): (WebKit::RemoteGraphicsContextGLProxy::getIntegerv): (WebKit::RemoteGraphicsContextGLProxy::getIntegeri_v): (WebKit::RemoteGraphicsContextGLProxy::getBooleanv): (WebKit::RemoteGraphicsContextGLProxy::getShaderPrecisionFormat): (WebKit::RemoteGraphicsContextGLProxy::getUniformfv): (WebKit::RemoteGraphicsContextGLProxy::getUniformiv): (WebKit::RemoteGraphicsContextGLProxy::getUniformuiv): (WebKit::RemoteGraphicsContextGLProxy::uniform1fv): (WebKit::RemoteGraphicsContextGLProxy::uniform1iv): (WebKit::RemoteGraphicsContextGLProxy::uniform2fv): (WebKit::RemoteGraphicsContextGLProxy::uniform2iv): (WebKit::RemoteGraphicsContextGLProxy::uniform3fv): (WebKit::RemoteGraphicsContextGLProxy::uniform3iv): (WebKit::RemoteGraphicsContextGLProxy::uniform4fv): (WebKit::RemoteGraphicsContextGLProxy::uniform4iv): (WebKit::RemoteGraphicsContextGLProxy::uniformMatrix2fv): (WebKit::RemoteGraphicsContextGLProxy::uniformMatrix3fv): (WebKit::RemoteGraphicsContextGLProxy::uniformMatrix4fv): (WebKit::RemoteGraphicsContextGLProxy::vertexAttrib1fv): (WebKit::RemoteGraphicsContextGLProxy::vertexAttrib2fv): (WebKit::RemoteGraphicsContextGLProxy::vertexAttrib3fv): (WebKit::RemoteGraphicsContextGLProxy::vertexAttrib4fv): (WebKit::RemoteGraphicsContextGLProxy::bufferData): (WebKit::RemoteGraphicsContextGLProxy::bufferSubData): (WebKit::RemoteGraphicsContextGLProxy::texImage2D): (WebKit::RemoteGraphicsContextGLProxy::texSubImage2D): (WebKit::RemoteGraphicsContextGLProxy::compressedTexImage2D): (WebKit::RemoteGraphicsContextGLProxy::compressedTexSubImage2D): (WebKit::RemoteGraphicsContextGLProxy::getBufferSubData): (WebKit::RemoteGraphicsContextGLProxy::invalidateFramebuffer): (WebKit::RemoteGraphicsContextGLProxy::invalidateSubFramebuffer): (WebKit::RemoteGraphicsContextGLProxy::texImage3D): (WebKit::RemoteGraphicsContextGLProxy::texSubImage3D): (WebKit::RemoteGraphicsContextGLProxy::compressedTexImage3D): (WebKit::RemoteGraphicsContextGLProxy::compressedTexSubImage3D): (WebKit::RemoteGraphicsContextGLProxy::uniform1uiv): (WebKit::RemoteGraphicsContextGLProxy::uniform2uiv): (WebKit::RemoteGraphicsContextGLProxy::uniform3uiv): (WebKit::RemoteGraphicsContextGLProxy::uniform4uiv): (WebKit::RemoteGraphicsContextGLProxy::uniformMatrix2x3fv): (WebKit::RemoteGraphicsContextGLProxy::uniformMatrix3x2fv): (WebKit::RemoteGraphicsContextGLProxy::uniformMatrix2x4fv): (WebKit::RemoteGraphicsContextGLProxy::uniformMatrix4x2fv): (WebKit::RemoteGraphicsContextGLProxy::uniformMatrix3x4fv): (WebKit::RemoteGraphicsContextGLProxy::uniformMatrix4x3fv): (WebKit::RemoteGraphicsContextGLProxy::vertexAttribI4iv): (WebKit::RemoteGraphicsContextGLProxy::vertexAttribI4uiv): (WebKit::RemoteGraphicsContextGLProxy::drawBuffers): (WebKit::RemoteGraphicsContextGLProxy::clearBufferiv): (WebKit::RemoteGraphicsContextGLProxy::clearBufferuiv): (WebKit::RemoteGraphicsContextGLProxy::clearBufferfv): (WebKit::RemoteGraphicsContextGLProxy::getActiveUniformBlockiv): (WebKit::RemoteGraphicsContextGLProxy::drawBuffersEXT): (WebKit::RemoteGraphicsContextGLProxy::getInternalformativ): * Source/WebKit/WebProcess/GPU/graphics/RemoteRenderingBackendProxy.cpp: (WebKit::RemoteRenderingBackendProxy::getPixelBufferForImageBuffer): * Source/WebKit/WebProcess/GPU/graphics/RemoteRenderingBackendProxy.h: * Source/WebKit/WebProcess/GPU/webrtc/LibWebRTCCodecs.h: * Source/WebKit/WebProcess/InjectedBundle/API/APIInjectedBundlePageUIClient.h: (API::InjectedBundle::PageUIClient::willAddMessageWithArgumentsToConsole): * Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp: (WebKit::InjectedBundlePageUIClient::willAddMessageWithArgumentsToConsole): * Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePageUIClient.h: * Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp: (WebKit::WebChromeClient::addMessageWithArgumentsToConsole): * Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.h: * Source/WebKit/WebProcess/WebPage/IPCTestingAPI.cpp: (WebKit::IPCTestingAPI::JSIPCStreamConnectionBuffer::readHeaderBytes): (WebKit::IPCTestingAPI::JSIPCStreamConnectionBuffer::readDataBytes): (WebKit::IPCTestingAPI::JSIPCStreamConnectionBuffer::readBytes): (WebKit::IPCTestingAPI::JSIPCStreamConnectionBuffer::writeHeaderBytes): (WebKit::IPCTestingAPI::JSIPCStreamConnectionBuffer::writeDataBytes): (WebKit::IPCTestingAPI::JSIPCStreamConnectionBuffer::writeBytes): * Source/WebKit/webpushd/WebPushDaemon.h: * Source/WebKit/webpushd/WebPushDaemon.mm: (WebPushD::handleWebPushDMessageWithReply): (WebPushD::handleWebPushDMessage): (WebPushD::Daemon::connectionEventHandler): (WebPushD::Daemon::decodeAndHandleMessage): * Tools/TestWebKitAPI/Tests/IPC/ArgumentCoderTests.cpp: (TestWebKitAPI::TYPED_TEST_P): * Tools/TestWebKitAPI/Tests/IPC/StreamConnectionBufferTests.cpp: (TestWebKitAPI::fill): (TestWebKitAPI::expectFilled): * Tools/TestWebKitAPI/Tests/WTF/Span.cpp: (TestWebKitAPI::TEST): * Tools/TestWebKitAPI/Tests/WTF/StackTraceTest.cpp: (TestWebKitAPI::expectEqualFrames): (TestWebKitAPI::TEST): * Tools/TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp: * Tools/TestWebKitAPI/Tests/WebCore/PushDatabase.cpp: (TestWebKitAPI::updatePublicTokenSync): (TestWebKitAPI::PushDatabaseTest::updatePublicToken): * Tools/TestWebKitAPI/Tests/mac/RenderedImageFromDOMNode.mm: (TestWebKitAPI::TEST): * Tools/WebKitTestRunner/DataFunctions.h: (WTR::dataToUUID): Canonical link: https://commits.webkit.org/264081@main
webkit-commit-queue
force-pushed
the
eng/Start-switching-WTFSpan-to-stdspan
branch
from
May 15, 2023 20:27
f49ee39
to
7bab10c
Compare
Committed 264081@main (7bab10c): https://commits.webkit.org/264081@main Reviewed commits have been landed. Closing PR #13888 and removing active labels. |
webkit-commit-queue
removed
the
unsafe-merge-queue
Applied to send a pull request to merge-queue, but skip building and testing
label
May 15, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
7bab10c
f49ee39
π§ͺ wpe-wk2π§ͺ ios-wk2-wptπ§ͺ gtk-wk2π§ͺ api-iosπ§ͺ api-gtk