[webkit-changes] [WebKit/WebKit] 139f35: Piecemeal adoption of std::ranges - adopt std::ran...

Sam Weinig noreply at github.com
Wed Jun 12 06:59:44 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 139f357261e16b23b9e26171cdf88b2e5c5b2856
      https://github.com/WebKit/WebKit/commit/139f357261e16b23b9e26171cdf88b2e5c5b2856
  Author: Sam Weinig <weinig at apple.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/filters/FilterOperations.cpp
    M Source/WebCore/platform/graphics/filters/FilterOperations.h
    M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp
    M Source/WebCore/platform/graphics/transforms/TransformOperations.cpp
    M Source/WebCore/platform/graphics/transforms/TransformOperations.h

  Log Message:
  -----------
  Piecemeal adoption of std::ranges - adopt std::ranges for TransformOperations & FilterOperations
https://bugs.webkit.org/show_bug.cgi?id=275254

Reviewed by Darin Adler.

Use std::ranges::any_of/std::ranges::all_of/std::ranges::equal
in TransformOperations and FilterOperations.

* Source/WebCore/platform/graphics/filters/FilterOperations.cpp:
(WebCore::FilterOperations::operator== const):
(WebCore::FilterOperations::operationsMatch const):
(WebCore::FilterOperations::hasFilterThatAffectsOpacity const):
(WebCore::FilterOperations::hasFilterThatMovesPixels const):
(WebCore::FilterOperations::hasFilterThatShouldBeRestrictedBySecurityOrigin const):
* Source/WebCore/platform/graphics/filters/FilterOperations.h:
(WebCore::FilterOperations::hasFilterOfType const):
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
(WebCore::CoordinatedGraphicsLayer::shouldHaveBackingStore const):
* Source/WebCore/platform/graphics/transforms/TransformOperations.cpp:
(WebCore::TransformOperations::operator== const):
(WebCore::TransformOperations::has3DOperation const):
(WebCore::TransformOperations::isRepresentableIn2D const):
(WebCore::TransformOperations::affectedByTransformOrigin const):
* Source/WebCore/platform/graphics/transforms/TransformOperations.h:
(WebCore::TransformOperations::hasTransformOfType const):

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