diff options
author | Moonchild <moonchild@palemoon.org> | 2021-10-10 23:09:26 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-04-01 14:47:16 +0200 |
commit | ddaee7c1be914cc28a28cbe27e5922215b3b2e6f (patch) | |
tree | cb8930a9ba1ed0ef574b7c2be9035b1a51201902 /layout/base/nsCSSRendering.cpp | |
parent | c030a50228349fa1b2c0b4fbc2e83752324dd4d7 (diff) | |
download | uxp-ddaee7c1be914cc28a28cbe27e5922215b3b2e6f.tar.gz |
Issue #1830 - Remove --disable-xul config and conditionals.
Diffstat (limited to 'layout/base/nsCSSRendering.cpp')
-rw-r--r-- | layout/base/nsCSSRendering.cpp | 8 |
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(); |