Bug 1031107 - Part 3: Skip display port visibility when computing plugin geometry. r=tn

This commit is contained in:
Matt Woodrow 2014-07-24 15:11:30 +12:00
parent 460d014849
commit 809e19562c

View File

@ -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);