Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 34d037641b002c0f4da1f85499bf1304f9413d74
      
https://github.com/WebKit/WebKit/commit/34d037641b002c0f4da1f85499bf1304f9413d74
  Author: Olivier Blin <olivier.b...@softathome.com>
  Date:   2024-04-02 (Tue, 02 Apr 2024)

  Changed paths:
    M Source/JavaScriptCore/runtime/IntlPluralRules.cpp
    M Source/WebCore/rendering/svg/SVGTextMetrics.cpp

  Log Message:
  -----------
  Fix build after drop of String constructor with raw pointer and length
https://bugs.webkit.org/show_bug.cgi?id=272033

Reviewed by Chris Dumez.

String constructors taking in a raw pointer and a length have been
dropped in 276859@main, some codepaths need updates.

* Source/JavaScriptCore/runtime/IntlPluralRules.cpp:
(JSC::IntlPluralRules::select const):
Use the std::span String constructor in the codepath without 
HAVE(ICU_U_NUMBER_FORMATTER).

* Source/WebCore/rendering/svg/SVGTextMetrics.cpp:
(WebCore::SVGTextMetrics::SVGTextMetrics):
Remove ASSERT() since TextRun length is always unsigned.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to