| Index: chrome/browser/ui/aura/chrome_browser_main_extra_parts_aura.cc
|
| diff --git a/chrome/browser/ui/aura/chrome_browser_main_extra_parts_aura.cc b/chrome/browser/ui/aura/chrome_browser_main_extra_parts_aura.cc
|
| index a42ea33ac29cb6c305287d467cc21aaf599ba760..334a8e4aa837d2b8e6a5425f7c97a4f3904a13a2 100644
|
| --- a/chrome/browser/ui/aura/chrome_browser_main_extra_parts_aura.cc
|
| +++ b/chrome/browser/ui/aura/chrome_browser_main_extra_parts_aura.cc
|
| @@ -68,8 +68,10 @@ ui::NativeTheme* GetNativeThemeForWindow(aura::Window* window) {
|
| // it also encompasses dialogs.
|
| bool eligible_for_otr = window->type() == ui::wm::WINDOW_TYPE_CONTROL ||
|
| BrowserView::GetBrowserViewForNativeWindow(window);
|
| - if (eligible_for_otr && profile->IsOffTheRecord())
|
| + if (eligible_for_otr &&
|
| + profile->GetProfileType() == Profile::INCOGNITO_PROFILE) {
|
| return ui::NativeThemeDarkAura::instance();
|
| + }
|
|
|
| return ui::NativeThemeAura::instance();
|
| }
|
|
|