Skip to content

Commit 0c59d0a

Browse files
committedMar 24, 2025
Bug 1955998 - Restore call to Theme::LookAndFeelChanged on init. r=dshin
This is not easy to test because this doesn't have any effect on windows, and only startup is affected (so any ui.* pref that I could tweak to write a reftest will "fix it"). I initially removed it to move it to nsXPLookAndFeel (thus making the "refresh" and "init" code-paths more similar), but I think I forgot to add it there, and it's not like it makes a big difference, so just put it back where it was. Differential Revision: https://phabricator.services.mozilla.com/D242746
1 parent 386c994 commit 0c59d0a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎widget/Theme.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ void Theme::Init() {
168168
for (const auto& pref : kPrefs) {
169169
Preferences::RegisterCallback(PrefChangedCallback, pref);
170170
}
171+
LookAndFeelChanged();
171172
}
172173

173174
void Theme::Shutdown() {

0 commit comments

Comments
 (0)
Failed to load comments.