summaryrefslogtreecommitdiff
path: root/layout/base/nsCSSRendering.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/nsCSSRendering.cpp')
-rw-r--r--layout/base/nsCSSRendering.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/layout/base/nsCSSRendering.cpp b/layout/base/nsCSSRendering.cpp
index d5df170203..70186df2be 100644
--- a/layout/base/nsCSSRendering.cpp
+++ b/layout/base/nsCSSRendering.cpp
@@ -879,13 +879,7 @@ nsCSSRendering::PaintOutline(nsPresContext* aPresContext,
bgContext->GetVisitedDependentColor(eCSSProperty_background_color);
nsRect innerRect;
- if (
-#ifdef MOZ_XUL
- aStyleContext->GetPseudoType() == CSSPseudoElementType::XULTree
-#else
- false
-#endif
- ) {
+ if (aStyleContext->GetPseudoType() == CSSPseudoElementType::XULTree) {
innerRect = aBorderArea;
} else {
innerRect = GetOutlineInnerRect(aForFrame) + aBorderArea.TopLeft();