Title: [286142] trunk/Source/WebCore
Revision
286142
Author
hey...@apple.com
Date
2021-11-23 22:20:34 -0800 (Tue, 23 Nov 2021)

Log 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):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (286141 => 286142)


--- trunk/Source/WebCore/ChangeLog	2021-11-24 03:47:06 UTC (rev 286141)
+++ trunk/Source/WebCore/ChangeLog	2021-11-24 06:20:34 UTC (rev 286142)
@@ -1,3 +1,14 @@
+2021-11-23  Cameron McCormack  <hey...@apple.com>
+
+        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):
+
 2021-11-23  Said Abou-Hallawa  <s...@apple.com>
 
         [GPU Process] Move the software FilterEffect functions to separate applier classes

Modified: trunk/Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp (286141 => 286142)


--- trunk/Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp	2021-11-24 03:47:06 UTC (rev 286141)
+++ trunk/Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp	2021-11-24 06:20:34 UTC (rev 286142)
@@ -1681,7 +1681,7 @@
     if (MemoryPressureHandler::singleton().isUnderMemoryPressure())
         return;
 
-    Vector<String> families = std::initializer_list<String> {
+    Vector<String> families {
 #if PLATFORM(MAC) || PLATFORM(MACCATALYST)
         ".SF NS Text"_s,
         ".SF NS Display"_s,
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to