mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 795899 - Remove merged frame handling in BuildContainerLayerFor. r=roc
This commit is contained in:
parent
311ea44e6b
commit
6e2109b0c9
@ -2837,20 +2837,6 @@ FrameLayerBuilder::BuildContainerLayerFor(nsDisplayListBuilder* aBuilder,
|
||||
data->AddFrame(aContainerFrame);
|
||||
entry->mContainerLayerGeneration = mContainerLayerGeneration;
|
||||
}
|
||||
|
||||
nsAutoTArray<nsIFrame*,4> mergedFrames;
|
||||
if (aContainerItem) {
|
||||
aContainerItem->GetMergedFrames(&mergedFrames);
|
||||
}
|
||||
for (uint32_t i = 0; i < mergedFrames.Length(); ++i) {
|
||||
nsIFrame* mergedFrame = mergedFrames[i];
|
||||
entry = mNewDisplayItemData.PutEntry(mergedFrame);
|
||||
if (entry) {
|
||||
entry->mContainerLayerGeneration = mContainerLayerGeneration;
|
||||
entry->mData.AppendElement(data);
|
||||
data->AddFrame(mergedFrame);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
nsRect bounds;
|
||||
|
Loading…
Reference in New Issue
Block a user