Bug 1222661 - Replace ToUntyped(obj) calls with obj.ToUnknown*(). r=nical

This commit is contained in:
Botond Ballo
2015-11-06 22:13:40 -05:00
parent be7ae7c03e
commit db5d15db66
23 changed files with 41 additions and 74 deletions

View File

@@ -125,7 +125,7 @@ BasicContainerLayer::ChildrenPartitionVisibleRegion(const gfx::IntRect& aInRect)
childRegion.MoveBy(int32_t(childTransform._31), int32_t(childTransform._32));
childRegion.And(childRegion, rect);
if (l->GetClipRect()) {
childRegion.And(childRegion, ParentLayerIntRect::ToUntyped(*l->GetClipRect()) + offset);
childRegion.And(childRegion, l->GetClipRect()->ToUnknownRect() + offset);
}
nsIntRegion intersection;
intersection.And(covered, childRegion);