mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1192189 - Fix assertion condition to use to-be-restyled element's composed document. r=dbaron
This commit is contained in:
parent
6a631ed9f3
commit
8ad4f3ade7
@ -124,7 +124,7 @@ CollectRestyles(nsISupports* aElement,
|
||||
(element->GetFlattenedTreeParent() &&
|
||||
(!element->GetFlattenedTreeParent()->GetPrimaryFrame() ||
|
||||
element->GetFlattenedTreeParent()->GetPrimaryFrame()->IsLeaf() ||
|
||||
element->GetCurrentDoc()->GetShell()->FrameManager()
|
||||
element->GetCrossShadowCurrentDoc()->GetShell()->FrameManager()
|
||||
->GetDisplayContentsStyleFor(element))) ||
|
||||
// Or not reachable due to an async reinsert we have
|
||||
// pending? If so, we'll have a reframe hint around.
|
||||
|
Loading…
Reference in New Issue
Block a user