From 7070dddb4b8738ca983a12bc6e22b6e7418b2428 Mon Sep 17 00:00:00 2001 From: Mats Palmgren Date: Fri, 29 Nov 2019 00:19:03 +0100 Subject: Simplify the overflow child frame reparenting in nsInlineFrame::DestroyFrom. --- layout/generic/nsInlineFrame.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'layout/generic/nsInlineFrame.h') diff --git a/layout/generic/nsInlineFrame.h b/layout/generic/nsInlineFrame.h index 00f89065c..a9679e93f 100644 --- a/layout/generic/nsInlineFrame.h +++ b/layout/generic/nsInlineFrame.h @@ -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. -- cgit v1.2.3