[webkit-changes] [WebKit/WebKit] 6b1eb3: Don't use Vector<UChar> to build strings

Ahmad Saleem noreply at github.com
Mon Dec 19 07:19:27 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6b1eb391bf3d0bf4fa2b3834e61df0a4dfa95c11
      https://github.com/WebKit/WebKit/commit/6b1eb391bf3d0bf4fa2b3834e61df0a4dfa95c11
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2022-12-19 (Mon, 19 Dec 2022)

  Changed paths:
    M Source/WebCore/platform/text/LocaleICU.cpp

  Log Message:
  -----------
  Don't use Vector<UChar> to build strings

Don't use Vector<UChar> to build strings
https://bugs.webkit.org/show_bug.cgi?id=119319

Reviewed by Darin Adler.

Merge - https://chromium.googlesource.com/chromium/blink/+/9fda929af533c3c1aa3961c4818ea30ed7499021

This patch replaces a bunch of sites which were using Vector<UChar>
to construct string with StringBuffer.

* Source/WebCore/platform/text/LocaleICU.cpp:
(WebCore::LocaleICU::decimalSymbol):
(WebCore::LocaleICU::decimalTextAttribute):
(WebCore::getDateFormatPattern):
(WebCore::LocaleICU::createLabelVector):
(WebCore::getFormatForSkeleton):

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




More information about the webkit-changes mailing list