mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 06:48:38 +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
|
|
@ -2380,7 +2380,7 @@ nsHTMLDocument::TearingDownEditor(nsIEditor *aEditor)
|
|||
nsTArray<RefPtr<StyleSheet>> agentSheets;
|
||||
presShell->GetAgentStyleSheets(agentSheets);
|
||||
|
||||
auto cache = nsLayoutStylesheetCache::For(GetStyleBackendType());
|
||||
auto cache = nsLayoutStylesheetCache::Get();
|
||||
|
||||
agentSheets.RemoveElement(cache->ContentEditableSheet());
|
||||
if (oldState == eDesignMode)
|
||||
|
|
@ -2524,7 +2524,7 @@ nsHTMLDocument::EditingStateChanged()
|
|||
rv = presShell->GetAgentStyleSheets(agentSheets);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
auto cache = nsLayoutStylesheetCache::For(GetStyleBackendType());
|
||||
auto cache = nsLayoutStylesheetCache::Get();
|
||||
|
||||
StyleSheet* contentEditableSheet = cache->ContentEditableSheet();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue