summaryrefslogtreecommitdiff
path: root/layout/xul/nsXULLabelFrame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'layout/xul/nsXULLabelFrame.cpp')
-rw-r--r--layout/xul/nsXULLabelFrame.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/layout/xul/nsXULLabelFrame.cpp b/layout/xul/nsXULLabelFrame.cpp
index 22b8754617..41e7e4d765 100644
--- a/layout/xul/nsXULLabelFrame.cpp
+++ b/layout/xul/nsXULLabelFrame.cpp
@@ -16,9 +16,7 @@ nsIFrame*
NS_NewXULLabelFrame(nsIPresShell* aPresShell, nsStyleContext* aContext)
{
nsXULLabelFrame* it = new (aPresShell) nsXULLabelFrame(aContext);
-
- it->AddStateBits(NS_BLOCK_FLOAT_MGR | NS_BLOCK_MARGIN_ROOT);
-
+ it->AddStateBits(NS_BLOCK_FORMATTING_CONTEXT_STATE_BITS);
return it;
}