Changeset 286142 in webkit


Ignore:
Timestamp:
Nov 23, 2021, 10:20:34 PM (4 years ago)
Author:
Cameron McCormack
Message:

Remove unnecessary explicit initializer_list usage
https://bugs.webkit.org/show_bug.cgi?id=233456
<rdar://problem/85716623>

Reviewed by Myles C. Maxfield.

  • platform/graphics/cocoa/FontCacheCoreText.cpp:

(WebCore::FontCache::prewarmGlobally):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r286140 r286142  
     12021-11-23  Cameron McCormack  <heycam@apple.com>
     2
     3        Remove unnecessary explicit initializer_list usage
     4        https://bugs.webkit.org/show_bug.cgi?id=233456
     5        <rdar://problem/85716623>
     6
     7        Reviewed by Myles C. Maxfield.
     8
     9        * platform/graphics/cocoa/FontCacheCoreText.cpp:
     10        (WebCore::FontCache::prewarmGlobally):
     11
    1122021-11-23  Said Abou-Hallawa  <said@apple.com>
    213
  • trunk/Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp

    r285552 r286142  
    16821682        return;
    16831683
    1684     Vector<String> families = std::initializer_list<String> {
     1684    Vector<String> families {
    16851685#if PLATFORM(MAC) || PLATFORM(MACCATALYST)
    16861686        ".SF NS Text"_s,
Note: See TracChangeset for help on using the changeset viewer.