mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 00:38:39 +09:00
Revert "Issue #1860 - Follow-up: Fix indentation."
This reverts commit 5422762839.
This commit is contained in:
parent
37fa205f24
commit
6be9a7c374
1 changed files with 8 additions and 8 deletions
|
|
@ -5581,20 +5581,20 @@ FrameLayerBuilder::BuildContainerLayerFor(nsDisplayListBuilder* aBuilder,
|
|||
|
||||
// Restore DisplayItemData
|
||||
auto iter = data->mDisplayItems.begin();
|
||||
while (iter != data->mDisplayItems.end()) {
|
||||
DisplayItemData* did = iter->get();
|
||||
while (iter != data->mDisplayItems.end()) {
|
||||
DisplayItemData* did = iter->get();
|
||||
if (did->mUsed && did->mContainerLayerGeneration >= mContainerLayerGeneration) {
|
||||
if (iter != data->mDisplayItems.end() - 1) {
|
||||
std::iter_swap(iter, data->mDisplayItems.end() - 1);
|
||||
data->mDisplayItems.pop_back();
|
||||
std::iter_swap(iter, data->mDisplayItems.end() - 1);
|
||||
data->mDisplayItems.pop_back();
|
||||
} else {
|
||||
data->mDisplayItems.pop_back();
|
||||
break;
|
||||
data->mDisplayItems.pop_back();
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
} else {
|
||||
iter++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Restore PaintedLayerItemEntries
|
||||
for (auto iter = mPaintedLayerItems.Iter(); !iter.Done(); iter.Next()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue