[webkit-changes] [WebKit/WebKit] f1d839: Let the compiler generate more comparison operator...

Chris Dumez noreply at github.com
Sun Sep 3 17:34:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f1d8394cd5374197cb332d34d5fe9e46f80a7e1c
      https://github.com/WebKit/WebKit/commit/f1d8394cd5374197cb332d34d5fe9e46f80a7e1c
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-09-03 (Sun, 03 Sep 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/ColorInterpolationMethod.h
    M Source/WebCore/platform/graphics/ColorMatrix.h
    M Source/WebCore/platform/graphics/DecodingOptions.h
    M Source/WebCore/platform/graphics/FloatPoint.h
    M Source/WebCore/platform/graphics/FloatPoint3D.h
    M Source/WebCore/platform/graphics/FloatQuad.h
    M Source/WebCore/platform/graphics/FloatRect.h
    M Source/WebCore/platform/graphics/FloatRoundedRect.h
    M Source/WebCore/platform/graphics/FloatSize.h
    M Source/WebCore/platform/graphics/FontCache.cpp
    M Source/WebCore/platform/graphics/FontCascadeCache.cpp
    M Source/WebCore/platform/graphics/FontCascadeCache.h
    M Source/WebCore/platform/graphics/FontCascadeDescription.h
    M Source/WebCore/platform/graphics/FontCreationContext.h
    M Source/WebCore/platform/graphics/FontDescription.h
    M Source/WebCore/platform/graphics/FontSelectionAlgorithm.h
    M Source/WebCore/platform/graphics/FontSizeAdjust.h
    M Source/WebCore/platform/graphics/FontTaggedSettings.h
    M Source/WebCore/platform/graphics/FourCC.h
    M Source/WebCore/platform/graphics/GraphicsStyle.h
    M Source/WebCore/platform/graphics/GraphicsTypes.h
    M Source/WebCore/platform/graphics/ImageOrientation.h
    M Source/WebCore/platform/graphics/ImageSource.h
    M Source/WebCore/platform/graphics/IntPoint.h
    M Source/WebCore/platform/graphics/IntRect.h
    M Source/WebCore/platform/graphics/IntSize.h
    M Source/WebCore/platform/graphics/LayoutPoint.h
    M Source/WebCore/platform/graphics/LayoutRect.h
    M Source/WebCore/platform/graphics/LayoutSize.h
    M Source/WebCore/platform/graphics/MediaUsageInfo.h
    M Source/WebCore/platform/graphics/PathTraversalState.cpp
    M Source/WebCore/platform/graphics/PlatformAudioTrackConfiguration.h
    M Source/WebCore/platform/graphics/PlatformTimeRanges.cpp
    M Source/WebCore/platform/graphics/PlatformTimeRanges.h
    M Source/WebCore/platform/graphics/PlatformTrackConfiguration.h
    M Source/WebCore/platform/graphics/PlatformVideoColorSpace.h
    M Source/WebCore/platform/graphics/PlatformVideoTrackConfiguration.h
    M Source/WebCore/platform/graphics/Region.h
    M Source/WebCore/platform/graphics/RoundedRect.h
    M Source/WebCore/platform/graphics/ScreenDataOverrides.h
    M Source/WebCore/platform/graphics/SourceBrush.h
    M Source/WebCore/platform/graphics/TabSize.h
    M Source/WebCore/platform/graphics/TextBoxIterator.h
    M Source/WebCore/platform/graphics/avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.h
    M Source/WebCore/platform/graphics/avfoundation/objc/InbandChapterTrackPrivateAVFObjC.h
    M Source/WebCore/platform/graphics/cocoa/SystemFontDatabaseCoreText.h
    M Source/WebCore/platform/graphics/cv/GraphicsContextGLCVCocoa.cpp
    M Source/WebCore/platform/graphics/cv/GraphicsContextGLCVCocoa.h
    M Source/WebCore/platform/graphics/cv/ImageRotationSessionVT.h
    M Source/WebCore/platform/graphics/transforms/AffineTransform.h
    M Source/WebCore/platform/graphics/transforms/TransformationMatrix.h
    M Source/WebCore/platform/network/FormData.h
    M Source/WebCore/platform/network/HTTPHeaderMap.h
    M Source/WebCore/platform/network/cf/CertificateInfo.h
    M Source/WebCore/platform/text/StringWithDirection.h
    M Source/WebCore/platform/text/TextFlags.h
    M Source/WebCore/platform/text/TextSpacing.h
    M Source/WebCore/plugins/PluginData.h

  Log Message:
  -----------
  Let the compiler generate more comparison operators in WebCore
https://bugs.webkit.org/show_bug.cgi?id=261076

Reviewed by Darin Adler.

Let the compiler generate more comparison operators in WebCore now that we
support C++20.

* Source/WebCore/platform/graphics/ColorInterpolationMethod.h:
(WebCore::operator==): Deleted.
* Source/WebCore/platform/graphics/ColorMatrix.h:
(WebCore::operator==): Deleted.
* Source/WebCore/platform/graphics/DecodingOptions.h:
(WebCore::DecodingOptions::operator== const): Deleted.
* Source/WebCore/platform/graphics/FloatPoint.h:
(WebCore::operator==): Deleted.
* Source/WebCore/platform/graphics/FloatPoint3D.h:
(WebCore::operator==): Deleted.
* Source/WebCore/platform/graphics/FloatQuad.h:
(WebCore::operator==): Deleted.
* Source/WebCore/platform/graphics/FloatRect.h:
(WebCore::operator==): Deleted.
* Source/WebCore/platform/graphics/FloatRoundedRect.h:
(WebCore::operator==): Deleted.
* Source/WebCore/platform/graphics/FloatSize.h:
(WebCore::operator==): Deleted.
* Source/WebCore/platform/graphics/FontCache.cpp:
(WebCore::operator==): Deleted.
* Source/WebCore/platform/graphics/FontCascadeCache.cpp:
* Source/WebCore/platform/graphics/FontCascadeCache.h:
* Source/WebCore/platform/graphics/FontCascadeDescription.h:
(WebCore::FontCascadeDescription::operator== const):
* Source/WebCore/platform/graphics/FontDescription.h:
(WebCore::FontDescription::operator== const): Deleted.
* Source/WebCore/platform/graphics/FontSelectionAlgorithm.h:
(WebCore::operator==): Deleted.
(WebCore::FontSelectionRange::operator== const): Deleted.
* Source/WebCore/platform/graphics/FontSizeAdjust.h:
(WebCore::FontSizeAdjust::operator== const): Deleted.
* Source/WebCore/platform/graphics/FontTaggedSettings.h:
(WebCore::= const): Deleted.
(WebCore::FontTaggedSettings::operator== const): Deleted.
* Source/WebCore/platform/graphics/FourCC.h:
(WebCore::operator==): Deleted.
* Source/WebCore/platform/graphics/GraphicsStyle.h:
* Source/WebCore/platform/graphics/GraphicsTypes.h:
(WebCore::operator==): Deleted.
* Source/WebCore/platform/graphics/ImageOrientation.h:
* Source/WebCore/platform/graphics/ImageSource.h:
* Source/WebCore/platform/graphics/IntPoint.h:
(WebCore::operator==): Deleted.
* Source/WebCore/platform/graphics/IntRect.h:
(WebCore::operator==): Deleted.
* Source/WebCore/platform/graphics/IntSize.h:
(WebCore::operator==): Deleted.
* Source/WebCore/platform/graphics/LayoutPoint.h:
(WebCore::operator==): Deleted.
* Source/WebCore/platform/graphics/LayoutRect.h:
(WebCore::operator==): Deleted.
* Source/WebCore/platform/graphics/LayoutSize.h:
(WebCore::operator==): Deleted.
* Source/WebCore/platform/graphics/MediaUsageInfo.h:
(WebCore::MediaUsageInfo::operator== const): Deleted.
* Source/WebCore/platform/graphics/PathTraversalState.cpp:
(WebCore::QuadraticBezier::operator== const): Deleted.
(WebCore::CubicBezier::operator== const): Deleted.
* Source/WebCore/platform/graphics/PlatformAudioTrackConfiguration.h:
(WebCore::operator==): Deleted.
* Source/WebCore/platform/graphics/PlatformTimeRanges.cpp:
(WebCore::PlatformTimeRanges::operator== const): Deleted.
* Source/WebCore/platform/graphics/PlatformTimeRanges.h:
* Source/WebCore/platform/graphics/PlatformTrackConfiguration.h:
* Source/WebCore/platform/graphics/PlatformVideoColorSpace.h:
(WebCore::operator==): Deleted.
* Source/WebCore/platform/graphics/PlatformVideoTrackConfiguration.h:
(WebCore::operator==): Deleted.
* Source/WebCore/platform/graphics/Region.h:
* Source/WebCore/platform/graphics/RoundedRect.h:
(WebCore::operator==): Deleted.
* Source/WebCore/platform/graphics/ScreenDataOverrides.h:
(WebCore::operator==): Deleted.
* Source/WebCore/platform/graphics/SourceBrush.h:
* Source/WebCore/platform/graphics/TabSize.h:
(WebCore::operator==): Deleted.
* Source/WebCore/platform/graphics/TextBoxIterator.h:
(WebCore::TextBoxIterator::operator== const): Deleted.
* Source/WebCore/platform/graphics/avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.h:
* Source/WebCore/platform/graphics/avfoundation/objc/InbandChapterTrackPrivateAVFObjC.h:
(WebCore::InbandChapterTrackPrivateAVFObjC::ChapterData::operator== const): Deleted.
* Source/WebCore/platform/graphics/cocoa/SystemFontDatabaseCoreText.h:
(WebCore::SystemFontDatabaseCoreText::CascadeListParameters::operator== const): Deleted.
* Source/WebCore/platform/graphics/cv/GraphicsContextGLCVCocoa.cpp:
(WebCore::GraphicsContextGLCVCocoa::TextureContent::operator== const): Deleted.
* Source/WebCore/platform/graphics/cv/GraphicsContextGLCVCocoa.h:
* Source/WebCore/platform/graphics/cv/ImageRotationSessionVT.h:
(WebCore::operator==): Deleted.
* Source/WebCore/platform/graphics/transforms/AffineTransform.h:
(WebCore::AffineTransform::operator== const): Deleted.
* Source/WebCore/platform/graphics/transforms/TransformationMatrix.h:
(WebCore::TransformationMatrix::Decomposed2Type::operator== const): Deleted.
(WebCore::TransformationMatrix::Decomposed4Type::operator== const): Deleted.
* Source/WebCore/platform/network/FormData.h:
(WebCore::FormDataElement::EncodedFileData::operator== const): Deleted.
(WebCore::FormDataElement::EncodedBlobData::operator== const): Deleted.
* Source/WebCore/platform/network/HTTPHeaderMap.h:
(WebCore::HTTPHeaderMap::CommonHeader::operator== const): Deleted.
(WebCore::HTTPHeaderMap::UncommonHeader::operator== const): Deleted.
* Source/WebCore/platform/network/cf/CertificateInfo.h:
(WebCore::CertificateInfo::operator== const): Deleted.
* Source/WebCore/platform/text/StringWithDirection.h:
(WebCore::operator==): Deleted.
* Source/WebCore/platform/text/TextFlags.h:
(WebCore::ExpansionBehavior::operator== const): Deleted.
(WebCore::FontVariantAlternatesValues::operator== const): Deleted.
(WebCore::FontVariantAlternates::operator== const): Deleted.
(WebCore::FontVariantSettings::operator== const): Deleted.
* Source/WebCore/platform/text/TextSpacing.h:
(WebCore::TextSpacingTrim::isAuto const):
(WebCore::TextSpacingTrim::isSpaceAll const):
(WebCore::TextAutospace::isAuto const):
(WebCore::TextAutospace::isNoAutospace const):
(WebCore::TextSpacingTrim::operator== const): Deleted.
(WebCore::TextAutospace::operator== const): Deleted.
* Source/WebCore/plugins/PluginData.h:
(WebCore::operator==): Deleted.

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




More information about the webkit-changes mailing list