[webkit-changes] [WebKit/WebKit] 364243: Reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in Imm...

Chris Dumez noreply at github.com
Thu Jan 30 13:12:58 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 36424385b378a7bbe98ab2553a02c739c1b8d5bf
      https://github.com/WebKit/WebKit/commit/36424385b378a7bbe98ab2553a02c739c1b8d5bf
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2025-01-30 (Thu, 30 Jan 2025)

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

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

Reviewed by Geoffrey Garen.

This tested as performance neutral on Speedometer.

* Source/WebCore/css/ImmutableStyleProperties.cpp:
(WebCore::ImmutableStyleProperties::ImmutableStyleProperties):
(WebCore::ImmutableStyleProperties::create):
(WebCore::ImmutableStyleProperties::createDeduplicating):
* Source/WebCore/css/ImmutableStyleProperties.h:
* Source/WebCore/css/MutableStyleProperties.cpp:
(WebCore::MutableStyleProperties::immutableCopy const):
(WebCore::MutableStyleProperties::immutableDeduplicatedCopy const):
* Source/WebCore/css/parser/CSSParserImpl.cpp:
(WebCore::createStyleProperties):

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