Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4397d9f07bfdba06e11337befd154c42b84cf912
      
https://github.com/WebKit/WebKit/commit/4397d9f07bfdba06e11337befd154c42b84cf912
  Author: David Kilzer <ddkil...@apple.com>
  Date:   2025-09-15 (Mon, 15 Sep 2025)

  Changed paths:
    M Source/WebCore/svg/SVGCircleElement.h
    M Source/WebCore/svg/SVGRectElement.h

  Log Message:
  -----------
  Fix static_assert() in 
WebCore::SVGPropertyOwnerRegistry::fastAnimatedPropertyLookup() with upstream 
clang
<https://bugs.webkit.org/show_bug.cgi?id=298817>
<rdar://157029024>

Reviewed by Matthieu Dubet.

The issue is that the `propertyForAttribute()` method on `SVGRectElement`
and `SVGCircleElement` is declared `private`, but concept evaluation
occurs during template instantiation, before `friend` relationships are
considered.

No new tests since this fixes a compiler error and there is no change in
behavior.

* Source/WebCore/svg/SVGCircleElement.h:
(WebCore::SVGCircleElement::propertyForAttribute):
- Move from private to public method.
- Remove unneeded friend declaration.
* Source/WebCore/svg/SVGRectElement.h:
(WebCore::SVGRectElement::propertyForAttribute): Ditto.

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



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

Reply via email to