Simplify the overflow child frame reparenting in

nsInlineFrame::DestroyFrom.
This commit is contained in:
Mats Palmgren 2019-11-29 00:19:03 +01:00 • committed by Roy Tam
commit a67d5f872c
2 changed files with 2 additions and 7 deletions

View file

@ -175,9 +175,6 @@ private:
enum DrainFlags {
eDontReparentFrames = 1, // skip reparenting the overflow list frames
eInFirstLine = 2, // the request is for an inline descendant of a nsFirstLineFrame
eForDestroy = 4, // the request is from DestroyFrom; in this case we do the
// minimal work required since the frame is about to be
// destroyed (just fixup parent pointers)
};
/**
* Move any frames on our overflow list to the end of our principal list.