mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 1390942: Recomposite areas of a container where child layers became visible. r=mattwoodrow
MozReview-Commit-ID: E9qMmwvcGKU
This commit is contained in:
parent
75495471b9
commit
cf9abbf1f4
@ -315,6 +315,11 @@ public:
|
||||
nsIntRegion& aOutRegion,
|
||||
NotifySubDocInvalidationFunc aCallback)
|
||||
{
|
||||
if (mLayer->AsHostLayer() && !mLayer->GetLocalVisibleRegion().ToUnknownRegion().IsEqual(mVisibleRegion)) {
|
||||
IntRect result = NewTransformedBoundsForLeaf();
|
||||
result = result.Union(OldTransformedBoundsForLeaf());
|
||||
aOutRegion = result;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user