mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Issue #2488 - Part 6: Define and declare CSSStyleSheet cast functions directly in StyleSheet
This renames AsGecko calls to AsConcrete and removes the header containing leftover Stylo macros.
This commit is contained in:
parent
81f77f18a0
commit
f0116f51db
18 changed files with 109 additions and 134 deletions
|
|
@ -750,7 +750,7 @@ nsStyleSet::AppendAllXBLStyleSheets(nsTArray<mozilla::CSSStyleSheet*>& aArray) c
|
|||
AutoTArray<StyleSheet*, 32> sheets;
|
||||
mBindingManager->AppendAllSheets(sheets);
|
||||
for (StyleSheet* handle : sheets) {
|
||||
aArray.AppendElement(handle->AsGecko());
|
||||
aArray.AppendElement(handle->AsConcrete());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2466,7 +2466,7 @@ nsStyleSet::EnsureUniqueInnerOnCSSSheets()
|
|||
AutoTArray<StyleSheet*, 32> sheets;
|
||||
mBindingManager->AppendAllSheets(sheets);
|
||||
for (StyleSheet* sheet : sheets) {
|
||||
queue.AppendElement(sheet->AsGecko());
|
||||
queue.AppendElement(sheet->AsConcrete());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue