[webkit-changes] [WebKit/WebKit] d1b097: WebCore: Replace stringWithFormat call with literals

Rose noreply at github.com
Thu Apr 13 17:03:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d1b09796df9e520b27a8f2016df9f132ee23b614
      https://github.com/WebKit/WebKit/commit/d1b09796df9e520b27a8f2016df9f132ee23b614
  Author: Rose <83477269+AtariDreams at users.noreply.github.com>
  Date:   2023-04-13 (Thu, 13 Apr 2023)

  Changed paths:
    M Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm

  Log Message:
  -----------
  WebCore: Replace stringWithFormat call with literals
https://bugs.webkit.org/show_bug.cgi?id=255153

Reviewed by Alexey Proskuryakov.

There is no reason to have a stringWithFormat call
when the the supplied number is a literal.

* Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
  (appendStringToResult): Prefer literals over NSStringWithFormat.

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




More information about the webkit-changes mailing list