summaryrefslogtreecommitdiff
path: root/layout
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-09-30 02:11:33 +0000
committerMoonchild <moonchild@palemoon.org>2022-04-01 14:38:31 +0200
commita7b63631b0e84c9a5ab1ef266f8f5e26c0f62d6a (patch)
tree521fbd6d7c6b866fbc8d58aa538af14312a57667 /layout
parentcdff23ad0b3e0be2121c77a5b2415b15c7c4f0b2 (diff)
downloaduxp-a7b63631b0e84c9a5ab1ef266f8f5e26c0f62d6a.tar.gz
No issue - Clean up some obsolete/archaic code paths.
Diffstat (limited to 'layout')
-rw-r--r--layout/generic/nsContainerFrame.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/layout/generic/nsContainerFrame.cpp b/layout/generic/nsContainerFrame.cpp
index 47afed9de1..45c28c6107 100644
--- a/layout/generic/nsContainerFrame.cpp
+++ b/layout/generic/nsContainerFrame.cpp
@@ -669,9 +669,9 @@ nsContainerFrame::SyncWindowProperties(nsPresContext* aPresContext,
Element* rootElement = aPresContext->Document()->GetRootElement();
if (!rootElement || !rootElement->IsXULElement()) {
// Scrollframes use native widgets which don't work well with
- // translucent windows, at least in Windows XP. So if the document
- // has a root scrollrame it's useless to try to make it transparent,
- // we'll just get something broken.
+ // translucent windows.
+ // So if the document has a root scrollrame it's useless to try to
+ // make it transparent, we'll just get something broken.
// nsCSSFrameConstructor::ConstructRootFrame constructs root
// scrollframes whenever the root element is not a XUL element, so
// we test for that here. We can't just call