Don't duplicate frame state bits, so that we can assert about NS_FRAME_IN_REFLOW during painting. (Bug 627842, patch 3.5) r=roc

This commit is contained in:
L. David Baron 2011-11-23 18:48:23 -08:00
Родитель 5a12e5a841
Коммит 6ef87a5b92
1 изменённых файлов: 4 добавлений и 5 удалений

Просмотреть файл

@ -160,9 +160,6 @@ typedef PRUint64 nsFrameState;
#define NS_FRAME_IN_REFLOW NS_FRAME_STATE_BIT(0)
// This is only set during painting
#define NS_FRAME_FORCE_DISPLAY_LIST_DESCEND_INTO NS_FRAME_STATE_BIT(0)
// This bit is set when a frame is created. After it has been reflowed
// once (during the DidReflow with a finished state) the bit is
// cleared.
@ -297,8 +294,10 @@ typedef PRUint64 nsFrameState;
// has no closer ancestor that is overflow:auto or overflow:scroll.
#define NS_FRAME_IN_CONSTRAINED_HEIGHT NS_FRAME_STATE_BIT(39)
// The lower 20 bits and upper 32 bits of the frame state are reserved
// by this API.
// This is only set during painting
#define NS_FRAME_FORCE_DISPLAY_LIST_DESCEND_INTO NS_FRAME_STATE_BIT(40)
// Bits 0-19 and bits 32-59 of the frame state are reserved by this API.
#define NS_FRAME_RESERVED ~NS_FRAME_IMPL_RESERVED
// Box layout bits