mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
Bug 1444193: followup: Remove comment which is no longer accurate. r=me
MozReview-Commit-ID: HyynrpMgKis
This commit is contained in:
parent
2027465bad
commit
084ced3b22
@ -2465,15 +2465,13 @@ nsDocumentViewer::CreateStyleSet(nsIDocument* aDocument)
|
||||
styleSet->PrependStyleSheet(SheetType::Agent, sheet);
|
||||
}
|
||||
|
||||
// This is the only place components.css / xul.css get loaded.
|
||||
if (aDocument->LoadsFullXULStyleSheetUpFront()) {
|
||||
// This is the only place components.css gets loaded, unlike xul.css
|
||||
sheet = cache->XULComponentsSheet();
|
||||
if (sheet) {
|
||||
styleSet->PrependStyleSheet(SheetType::Agent, sheet);
|
||||
}
|
||||
|
||||
// nsXULElement::BindToTree loads xul.css on-demand if we don't load it
|
||||
// up-front here.
|
||||
sheet = cache->XULSheet();
|
||||
if (sheet) {
|
||||
styleSet->PrependStyleSheet(SheetType::Agent, sheet);
|
||||
|
Loading…
Reference in New Issue
Block a user