summaryrefslogtreecommitdiffstats
path: root/dom/xul
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
commitda4c7e7ed675c3bf405668739c3012d140856109 (patch)
treecdd868dba063fecba609a1d819de271f0d51b23e /dom/xul
parentAdding upstream version 125.0.3. (diff)
downloadfirefox-da4c7e7ed675c3bf405668739c3012d140856109.tar.xz
firefox-da4c7e7ed675c3bf405668739c3012d140856109.zip
Adding upstream version 126.0.upstream/126.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/xul')
-rw-r--r--dom/xul/ChromeObserver.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/dom/xul/ChromeObserver.cpp b/dom/xul/ChromeObserver.cpp
index 9ad66348d4..73f712e30c 100644
--- a/dom/xul/ChromeObserver.cpp
+++ b/dom/xul/ChromeObserver.cpp
@@ -137,10 +137,6 @@ void ChromeObserver::AttributeChanged(dom::Element* aElement,
// if the localedir changed on the root element, reset the document
// direction
mDocument->ResetDocumentDirection();
- } else if (aName == nsGkAtoms::lwtheme) {
- // if the lwtheme changed, make sure to reset the document lwtheme
- // cache
- mDocument->ResetDocumentLWTheme();
}
} else {
if (aName == nsGkAtoms::hidechrome) {
@@ -151,9 +147,6 @@ void ChromeObserver::AttributeChanged(dom::Element* aElement,
// if the localedir changed on the root element, reset the document
// direction
mDocument->ResetDocumentDirection();
- } else if (aName == nsGkAtoms::lwtheme) {
- // if the lwtheme changed, make sure to restyle appropriately
- mDocument->ResetDocumentLWTheme();
} else if (aName == nsGkAtoms::drawtitle) {
SetDrawsTitle(false);
}