Bug 1022612. Part 41: Use itemType instead of calling GetType() again. r=mattwoodrow
This commit is contained in:
@@ -2820,7 +2820,7 @@ ContainerState::ProcessDisplayItems(nsDisplayList* aList,
|
||||
// (async animations or an empty transaction), so we need to put items
|
||||
// that the transform item can potentially move under into a layer
|
||||
// above this item.
|
||||
if (item->GetType() == nsDisplayItem::TYPE_TRANSFORM &&
|
||||
if (itemType == nsDisplayItem::TYPE_TRANSFORM &&
|
||||
nsDisplayTransform::ShouldPrerenderTransformedContent(mBuilder,
|
||||
item->Frame(),
|
||||
false)) {
|
||||
|
||||
Reference in New Issue
Block a user