summaryrefslogtreecommitdiff
path: root/layout/generic/ReflowInput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'layout/generic/ReflowInput.cpp')
-rw-r--r--layout/generic/ReflowInput.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/layout/generic/ReflowInput.cpp b/layout/generic/ReflowInput.cpp
index 077c68b5be..0c3fef3825 100644
--- a/layout/generic/ReflowInput.cpp
+++ b/layout/generic/ReflowInput.cpp
@@ -507,9 +507,7 @@ static bool
IsQuirkContainingBlockHeight(const ReflowInput* rs, nsIAtom* aFrameType)
{
if (nsGkAtoms::blockFrame == aFrameType ||
-#ifdef MOZ_XUL
nsGkAtoms::XULLabelFrame == aFrameType ||
-#endif
nsGkAtoms::scrollFrame == aFrameType) {
// Note: This next condition could change due to a style change,
// but that would cause a style reflow anyway, which means we're ok.
@@ -1950,9 +1948,7 @@ CalcQuirkContainingBlockHeight(const ReflowInput* aCBReflowInput)
// if the ancestor is auto height then skip it and continue up if it
// is the first block frame and possibly the body/html
if (nsGkAtoms::blockFrame == frameType ||
-#ifdef MOZ_XUL
nsGkAtoms::XULLabelFrame == frameType ||
-#endif
nsGkAtoms::scrollFrame == frameType) {
secondAncestorRI = firstAncestorRI;