mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +09:00
Revert "Issue #1860 - Follow-up: Make sure we don't add duplicate frames"
This reverts commit f039cc7ef8.
This commit is contained in:
parent
6be9a7c374
commit
1f85f6ab93
1 changed files with 1 additions and 6 deletions
|
|
@ -162,12 +162,7 @@ void
|
|||
FrameLayerBuilder::DisplayItemData::AddFrame(nsIFrame* aFrame)
|
||||
{
|
||||
MOZ_RELEASE_ASSERT(mLayer);
|
||||
|
||||
// Make sure we don't add duplicate frames as we're storing these as vectors.
|
||||
// See UXP Issue #1860
|
||||
if (!mFrameList.Contains(aFrame)) {
|
||||
mFrameList.AppendElement(aFrame);
|
||||
}
|
||||
mFrameList.AppendElement(aFrame);
|
||||
|
||||
nsTArray<DisplayItemData*>* array =
|
||||
aFrame->GetProperty(FrameLayerBuilder::LayerManagerDataProperty());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue