mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 819791 - Part 8: Use explicit TArray copy constructors in FrameLayerBuilder. r=roc
This commit is contained in:
parent
1ce158bdfa
commit
e1fa823a2c
@ -115,7 +115,7 @@ FrameLayerBuilder::DisplayItemData::UpdateContents(Layer* aLayer, LayerState aSt
|
||||
return;
|
||||
}
|
||||
|
||||
nsAutoTArray<nsIFrame*, 4> copy = mFrameList;
|
||||
nsAutoTArray<nsIFrame*, 4> copy(mFrameList);
|
||||
if (!copy.RemoveElement(aItem->GetUnderlyingFrame())) {
|
||||
AddFrame(aItem->GetUnderlyingFrame());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user