summaryrefslogtreecommitdiff
path: root/layout/generic/nsFrame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'layout/generic/nsFrame.cpp')
-rw-r--r--layout/generic/nsFrame.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/layout/generic/nsFrame.cpp b/layout/generic/nsFrame.cpp
index b8e66ecbc..14d411e6a 100644
--- a/layout/generic/nsFrame.cpp
+++ b/layout/generic/nsFrame.cpp
@@ -10759,12 +10759,10 @@ void DR_State::InitFrameTypeTable()
AddFrameTypeInfo(nsGkAtoms::textInputFrame, "textCtl", "textInput");
AddFrameTypeInfo(nsGkAtoms::textFrame, "text", "text");
AddFrameTypeInfo(nsGkAtoms::viewportFrame, "VP", "viewport");
-#ifdef MOZ_XUL
AddFrameTypeInfo(nsGkAtoms::XULLabelFrame, "XULLabel", "XULLabel");
AddFrameTypeInfo(nsGkAtoms::boxFrame, "Box", "Box");
AddFrameTypeInfo(nsGkAtoms::sliderFrame, "Slider", "Slider");
AddFrameTypeInfo(nsGkAtoms::popupSetFrame, "PopupSet", "PopupSet");
-#endif
AddFrameTypeInfo(nullptr, "unknown", "unknown");
}
@@ -11382,10 +11380,8 @@ ReflowInput::DisplayInitFrameTypeExit(nsIFrame* aFrame,
"grid", "inline-grid", "ruby", "ruby-base", "ruby-base-container",
"ruby-text", "ruby-text-container", "contents", "-webkit-box",
"-webkit-inline-box", "box", "inline-box",
-#ifdef MOZ_XUL
"grid", "inline-grid", "grid-group", "grid-line", "stack",
"inline-stack", "deck", "groupbox", "popup",
-#endif
};
const uint32_t display = static_cast<uint32_t>(disp->mDisplay);
if (display >= ArrayLength(displayTypes))