Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1443a4cc2f46901f5576a647e68915dfe13bbc2c
      
https://github.com/WebKit/WebKit/commit/1443a4cc2f46901f5576a647e68915dfe13bbc2c
  Author: Fady Farag <[email protected]>
  Date:   2026-09-10 (Thu, 10 Sep 2026)

  Changed paths:
    M Source/WebCore/html/ColorInputType.cpp
    M Source/WebCore/style/StyleSubstitutionResolver.cpp
    M Source/WebCore/svg/properties/SVGPropertyTraits.cpp
    M Source/WebKit/UIProcess/API/wpe/WebKitColor.cpp

  Log Message:
  -----------
  Remove unnecessary temporary String creation at CSS parsing call sites
https://bugs.webkit.org/show_bug.cgi?id=323834
rdar://187067129

Reviewed by Darin Adler and Chris Dumez.

This is a follow-up to 320120@main. This visits all the call sites and gets rid
of unnecessarily created temporary strings.

* Source/WebCore/html/ColorInputType.cpp:
(WebCore::parseColorValue):
* Source/WebCore/style/StyleSubstitutionResolver.cpp:
(WebCore::Style::SubstitutionResolver::substituteAttrFunction):
* Source/WebCore/svg/properties/SVGPropertyTraits.cpp:
(WebCore::SVGPropertyTraits<Color>::fromString):
* Source/WebKit/UIProcess/API/wpe/WebKitColor.cpp:
(webkit_color_parse):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to