mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1031107 - Part 3: Skip display port visibility when computing plugin geometry. r=tn
This commit is contained in:
parent
460d014849
commit
809e19562c
@ -3890,6 +3890,9 @@ bool
|
||||
nsDisplayScrollLayer::ComputeVisibility(nsDisplayListBuilder* aBuilder,
|
||||
nsRegion* aVisibleRegion)
|
||||
{
|
||||
if (aBuilder->IsForPluginGeometry()) {
|
||||
return nsDisplayWrapList::ComputeVisibility(aBuilder, aVisibleRegion);
|
||||
}
|
||||
nsRect displayport;
|
||||
bool usingDisplayPort =
|
||||
nsLayoutUtils::GetDisplayPort(mScrolledFrame->GetContent(), &displayport);
|
||||
|
Loading…
Reference in New Issue
Block a user