From d8b36d4a41a756b56f1f64b87da141ba696edc67 Mon Sep 17 00:00:00 2001 From: Matt Woodrow Date: Fri, 19 Oct 2012 17:36:00 +1300 Subject: [PATCH] Bug 803194 - Update DisplayItemData and frame data when the merged frame list changes. r=roc --- layout/base/FrameLayerBuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/base/FrameLayerBuilder.cpp b/layout/base/FrameLayerBuilder.cpp index ddb0e69a8f8d..0f03311fcc1d 100644 --- a/layout/base/FrameLayerBuilder.cpp +++ b/layout/base/FrameLayerBuilder.cpp @@ -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; }