mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +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
|
|
@ -1929,7 +1929,7 @@ CSSStyleSheet::StyleSheetLoaded(StyleSheet* aSheet,
|
|||
bool aWasAlternate,
|
||||
nsresult aStatus)
|
||||
{
|
||||
CSSStyleSheet* sheet = aSheet->AsGecko();
|
||||
CSSStyleSheet* sheet = aSheet->AsConcrete();
|
||||
|
||||
if (sheet->GetParentSheet() == nullptr) {
|
||||
return NS_OK; // ignore if sheet has been detached already (see parseSheet)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue