Changeset 236971 in webkit
- Timestamp:
- Oct 9, 2018, 11:38:47 AM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
page/ProcessWarming.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r236970 r236971 1 2018-10-09 Antti Koivisto <antti@apple.com> 2 3 [PSON] Prewarm system UI font 4 https://bugs.webkit.org/show_bug.cgi?id=190397 5 6 Reviewed by Geoffrey Garen. 7 8 Cache system UI font fallbacks. Almost every web process needs these. 9 10 * page/ProcessWarming.cpp: 11 (WebCore::ProcessWarming::prewarmGlobally): 12 1 13 2018-10-09 Chris Dumez <cdumez@apple.com> 2 14 -
trunk/Source/WebCore/page/ProcessWarming.cpp
r236959 r236971 31 31 #include "Font.h" 32 32 #include "FontCache.h" 33 #include "FontCascadeDescription.h" 33 34 #include "HTMLNames.h" 34 35 #include "MathMLNames.h" … … 71 72 // Prewarms JS VM. 72 73 commonVM(); 73 74 75 #if USE_PLATFORM_SYSTEM_FALLBACK_LIST 76 // Cache system UI font fallbacks. Almost every web process needs these. 77 // Initializing one size is sufficient to warm CoreText caches. 78 FontCascadeDescription systemFontDescription; 79 systemFontDescription.setOneFamily("system-ui"); 80 systemFontDescription.setComputedSize(11); 81 systemFontDescription.effectiveFamilyCount(); 82 #endif 83 74 84 #if ENABLE(TELEPHONE_NUMBER_DETECTION) 75 85 TelephoneNumberDetector::isSupported();
Note:
See TracChangeset
for help on using the changeset viewer.