mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +09:00
Issue #2135 - Bug 1329877: Optimize AncestorFilter usage in lazy frame construction
This commit is contained in:
parent
7b395189ac
commit
7924a2f60d
3 changed files with 112 additions and 33 deletions
|
|
@ -444,6 +444,15 @@ struct MOZ_STACK_CLASS TreeMatchContext {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
enum ForFrameConstructionTag { ForFrameConstruction };
|
||||
|
||||
TreeMatchContext(nsIDocument* aDocument,
|
||||
ForFrameConstructionTag)
|
||||
: TreeMatchContext(true,
|
||||
nsRuleWalker::eRelevantLinkUnvisited,
|
||||
aDocument)
|
||||
{}
|
||||
};
|
||||
|
||||
struct MOZ_STACK_CLASS RuleProcessorData {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue