Bug 803194 - Update DisplayItemData and frame data when the merged frame list changes. r=roc

This commit is contained in:
Matt Woodrow 2012-10-19 17:36:00 +13:00
parent 8becb422d9
commit d8b36d4a41

View File

@ -2433,7 +2433,7 @@ FrameLayerBuilder::StoreDataForFrame(nsDisplayItem* aItem, Layer* aLayer, LayerS
DisplayItemData* oldData = GetDisplayItemDataForManager(aItem, mRetainingManager);
if (oldData) {
if (!oldData->mUsed) {
oldData->UpdateContents(aLayer, aState, mContainerLayerGeneration);
oldData->UpdateContents(aLayer, aState, mContainerLayerGeneration, aItem);
}
return oldData;
}