mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 14:58:37 +09:00
Issue #2112 - Part 7: Remove Servo CSS Loader support
This commit is contained in:
parent
10bf8705d0
commit
14764253a5
17 changed files with 37 additions and 87 deletions
|
|
@ -1388,7 +1388,7 @@ PresShell::UpdatePreferenceStyles()
|
|||
// matter which pres context we pass in when it does need to be recreated.
|
||||
// (See nsPresContext::GetDocumentColorPreferences for how whether we
|
||||
// are a chrome origin image affects some pref styling information.)
|
||||
auto cache = nsLayoutStylesheetCache::For(mStyleSet->BackendType());
|
||||
auto cache = nsLayoutStylesheetCache::Get();
|
||||
RefPtr<StyleSheet> newPrefSheet =
|
||||
mPresContext->IsChromeOriginImage() ?
|
||||
cache->ChromePreferenceSheet(mPresContext) :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue