Issue #2112 - Part 7: Remove Servo CSS Loader support

This commit is contained in:
FranklinDM 2024-03-25 16:57:34 +08:00 • committed by roytam1
commit 14764253a5
17 changed files with 37 additions and 87 deletions

View file

@ -2092,10 +2092,7 @@ static void
PreloadSlowThings()
{
// This fetches and creates all the built-in stylesheets.
//
// XXXheycam In the future we might want to preload the Servo-flavoured
// UA sheets too, but for now that will be a waste of time.
nsLayoutStylesheetCache::For(StyleBackendType::Gecko)->UserContentSheet();
nsLayoutStylesheetCache::Get()->UserContentSheet();
TabChild::PreloadSlowThings();