mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 06:48:38 +09:00
Issue #2828 – Part 10: Clean up cascade layer constructor
This also renames mIsWeak to mIsStrong. Cascade layers are weak by default and there's no point in always setting this to true.
This commit is contained in:
parent
1655a5a4a9
commit
a922ec0823
3 changed files with 13 additions and 60 deletions
|
|
@ -736,6 +736,9 @@ nsCSSRuleProcessor::RefreshGroup(nsPresContext* aPresContext)
|
|||
nsAutoPtr<RuleProcessorGroup> ruleProcessorSet(
|
||||
new RuleProcessorGroup(aPresContext->Medium()));
|
||||
CascadeLayer* implicitLayer(new CascadeLayer(aPresContext,
|
||||
#if DEBUG
|
||||
nullptr,
|
||||
#endif
|
||||
mDocumentRules,
|
||||
mDocumentCacheKey,
|
||||
mSheetType,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue