summaryrefslogtreecommitdiffstats
path: root/dom/xul
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:50 +0000
commitdef92d1b8e9d373e2f6f27c366d578d97d8960c6 (patch)
tree2ef34b9ad8bb9a9220e05d60352558b15f513894 /dom/xul
parentAdding debian version 125.0.3-1. (diff)
downloadfirefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.tar.xz
firefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.zip
Merging upstream version 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);
}