Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f7123211c62d1bfdaeb837b5f5c0b69827866e20
      
https://github.com/WebKit/WebKit/commit/f7123211c62d1bfdaeb837b5f5c0b69827866e20
  Author: Sam Weinig <[email protected]>
  Date:   2025-06-17 (Tue, 17 Jun 2025)

  Changed paths:
    M Source/WTF/wtf/Ref.h
    M Source/WTF/wtf/UniqueRef.h
    M Source/WebCore/css/CSSCustomPropertyValue.cpp
    M Source/WebCore/css/CSSFontStyleRangeValue.cpp
    M Source/WebCore/css/CSSVariableReferenceValue.cpp
    M Source/WebCore/css/calc/CSSCalcTree.h
    M Source/WebCore/css/values/CSSValueAggregates.h
    M Source/WebCore/css/values/color/CSSDynamicRangeLimitMix.h
    M Source/WebCore/platform/graphics/FontCascadeDescription.h
    M 
Source/WebCore/platform/graphics/avfoundation/objc/CDMSessionAVContentKeySession.mm
    M Source/WebCore/platform/graphics/filters/FELighting.cpp
    M Source/WebCore/platform/graphics/filters/FilterOperations.cpp
    M Source/WebCore/platform/graphics/transforms/TransformOperations.cpp
    M Source/WebCore/rendering/style/StyleCursorImage.cpp
    M Source/WebCore/rendering/style/StyleMultiImage.cpp
    M Source/WebCore/style/StyleCustomProperty.cpp
    M Source/WebCore/style/StyleCustomProperty.h
    M Source/WebCore/svg/graphics/filters/SVGFilter.cpp

  Log Message:
  -----------
  [WTF] Add overloads of WTF::arePointingToEqualData for non-nullable 
pointer-like types
https://bugs.webkit.org/show_bug.cgi?id=294615

Reviewed by Darin Adler.

Replaces the relatively common idiom of:

```
   foo.ptr() == bar.ptr() || foo.get() == bar.get();
```

used for Ref and UniqueRef that want value semantics, with
calls to an overload of WTF::arePointingToEqualData that
does the right thing.

* Source/WTF/wtf/Ref.h:
* Source/WTF/wtf/UniqueRef.h:
    - Adds overloads.

* Source/WebCore/css/CSSCustomPropertyValue.cpp:
* Source/WebCore/css/CSSFontStyleRangeValue.cpp:
* Source/WebCore/css/CSSVariableReferenceValue.cpp:
* Source/WebCore/css/calc/CSSCalcTree.h:
* Source/WebCore/css/values/CSSValueAggregates.h:
* Source/WebCore/css/values/color/CSSDynamicRangeLimitMix.h:
* Source/WebCore/platform/graphics/FontCascadeDescription.h:
* 
Source/WebCore/platform/graphics/avfoundation/objc/CDMSessionAVContentKeySession.mm:
* Source/WebCore/platform/graphics/filters/FELighting.cpp:
* Source/WebCore/platform/graphics/filters/FilterOperations.cpp:
* Source/WebCore/platform/graphics/transforms/TransformOperations.cpp:
* Source/WebCore/rendering/style/StyleCursorImage.cpp:
* Source/WebCore/rendering/style/StyleMultiImage.cpp:
* Source/WebCore/style/StyleCustomProperty.cpp:
* Source/WebCore/style/StyleCustomProperty.h:
* Source/WebCore/svg/graphics/filters/SVGFilter.cpp:
    - Adopt new arePointingToEqualData overloads.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to