Changeset 275045 in webkit
- Timestamp:
- Mar 25, 2021, 10:16:06 AM (5 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
r275037 r275045 1 2021-03-25 Chris Dumez <cdumez@apple.com> 2 3 Drop unnecessary Settings pre-warming in ProcessWarming::prewarmGlobally() 4 https://bugs.webkit.org/show_bug.cgi?id=223749 5 6 Reviewed by Antti Koivisto. 7 8 Drop unnecessary Settings pre-warming in ProcessWarming::prewarmGlobally(). Based on the comment, 9 it looks like the intention was to prewarm some font families. However, looking at the code, nothing 10 that gets populated is global and survives the destruction of the Settings object on the next line. 11 We don't even make any calls to CTFont. 12 13 * page/ProcessWarming.cpp: 14 (WebCore::ProcessWarming::prewarmGlobally): 15 1 16 2021-03-25 Youenn Fablet <youenn@apple.com> 2 17 -
trunk/Source/WebCore/page/ProcessWarming.cpp
r274985 r275045 36 36 #include "QualifiedName.h" 37 37 #include "SVGNames.h" 38 #include "Settings.h"39 38 #include "TelephoneNumberDetector.h" 40 39 #include "UserAgentStyle.h" … … 69 68 initializeNames(); 70 69 71 // Initializes default font families.72 Settings::create(nullptr);73 74 70 // Prewarms user agent stylesheet. 75 71 Style::UserAgentStyle::initDefaultStyleSheet();
Note:
See TracChangeset
for help on using the changeset viewer.