| Index: chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc
|
| diff --git a/chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc b/chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc
|
| index 0aac8ac5030ddca08642e337e93811e043397f78..577fed7064a7203e4ae07fdbac473c225d6b783c 100644
|
| --- a/chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc
|
| +++ b/chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc
|
| @@ -39,8 +39,10 @@ ui::NativeTheme* GetNativeThemeForWindow(aura::Window* window) {
|
| // If using the system (GTK) theme, don't use an Aura NativeTheme at all.
|
| // NB: ThemeService::UsingSystemTheme() might lag behind this pref. See
|
| // http://crbug.com/585522
|
| - if (!profile || profile->GetPrefs()->GetBoolean(prefs::kUsesSystemTheme))
|
| + if (!profile || (!profile->IsSupervised() &&
|
| + profile->GetPrefs()->GetBoolean(prefs::kUsesSystemTheme))) {
|
| return nullptr;
|
| + }
|
|
|
| // Use a dark theme for incognito browser windows that aren't
|
| // custom-themed. Otherwise, normal Aura theme.
|
|
|