Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d6dcfd454746cdbb48de0e9b41fc10f03b0843e8
      
https://github.com/WebKit/WebKit/commit/d6dcfd454746cdbb48de0e9b41fc10f03b0843e8
  Author: Chris Dumez <[email protected]>
  Date:   2025-06-24 (Tue, 24 Jun 2025)

  Changed paths:
    M Source/WebCore/css/ImmutableStyleProperties.cpp
    M Source/WebCore/css/ImmutableStyleProperties.h

  Log Message:
  -----------
  Reduce scope of WTF_ALLOW_UNSAFE_BUFFER_USAGE in ImmutableStyleProperties
https://bugs.webkit.org/show_bug.cgi?id=294884

Reviewed by Anne van Kesteren.

This tested as performance neutral on Speedometer.

* Source/WebCore/css/ImmutableStyleProperties.cpp:
(WebCore::ImmutableStyleProperties::ImmutableStyleProperties):
(WebCore::ImmutableStyleProperties::~ImmutableStyleProperties):
(WebCore::ImmutableStyleProperties::findPropertyIndex const):
(WebCore::ImmutableStyleProperties::findCustomPropertyIndex const):
* Source/WebCore/css/ImmutableStyleProperties.h:
(WebCore::ImmutableStyleProperties::valueSpan const):
(WebCore::ImmutableStyleProperties::metadataSpan const):
(WebCore::ImmutableStyleProperties::propertyAt const):
(WebCore::ImmutableStyleProperties::objectSize):
(WebCore::ImmutableStyleProperties::valueArray const): Deleted.
(WebCore::ImmutableStyleProperties::metadataArray const): Deleted.

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