Bug 1457920: Remove ServoStyleSheet usage. r=xidorn
MozReview-Commit-ID: LIBkovuQ6MB
This commit is contained in:
@@ -2256,7 +2256,7 @@ nsHTMLDocument::TearingDownEditor()
|
||||
if (!presShell)
|
||||
return;
|
||||
|
||||
nsTArray<RefPtr<ServoStyleSheet>> agentSheets;
|
||||
nsTArray<RefPtr<StyleSheet>> agentSheets;
|
||||
presShell->GetAgentStyleSheets(agentSheets);
|
||||
|
||||
auto cache = nsLayoutStylesheetCache::Singleton();
|
||||
@@ -2401,7 +2401,7 @@ nsHTMLDocument::EditingStateChanged()
|
||||
// Before making this window editable, we need to modify UA style sheet
|
||||
// because new style may change whether focused element will be focusable
|
||||
// or not.
|
||||
nsTArray<RefPtr<ServoStyleSheet>> agentSheets;
|
||||
nsTArray<RefPtr<StyleSheet>> agentSheets;
|
||||
rv = presShell->GetAgentStyleSheets(agentSheets);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user