[webkit-changes] [WebKit/WebKit] 49070c: Prefer CFStringCreateWithCString over CFStringCrea...

AZero13 noreply at github.com
Wed Feb 26 18:17:32 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 49070c7f859611bb702950373d6325b1c8b86804
      https://github.com/WebKit/WebKit/commit/49070c7f859611bb702950373d6325b1c8b86804
  Author: Rose <gfunni234 at gmail.com>
  Date:   2025-02-26 (Wed, 26 Feb 2025)

  Changed paths:
    M Source/WebCore/platform/text/mac/TextBoundaries.mm

  Log Message:
  -----------
  Prefer CFStringCreateWithCString over CFStringCreateWithBytes if we don't have the size
https://bugs.webkit.org/show_bug.cgi?id=279157

Reviewed by Alex Christensen, Geoffrey Garen, and Michael Catanzaro.

It is more efficient that way.

* Source/WebCore/platform/text/mac/TextBoundaries.mm:
(WebCore::tokenizerForString): CFStringCreateWithCStringNoCopy.

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