| Index: chrome/browser/extensions/extension_install_ui.cc
|
| diff --git a/chrome/browser/extensions/extension_install_ui.cc b/chrome/browser/extensions/extension_install_ui.cc
|
| index 552e231650e3faccb1bacc38e41ea9f1adb09231..dfd3ef616980c5f30331099c167219a42f128f3b 100644
|
| --- a/chrome/browser/extensions/extension_install_ui.cc
|
| +++ b/chrome/browser/extensions/extension_install_ui.cc
|
| @@ -305,7 +305,10 @@ void ExtensionInstallUI::ShowThemeInfoBar(
|
| if (!new_theme->IsTheme())
|
| return;
|
|
|
| - Browser* browser = BrowserList::GetLastActiveWithProfile(profile);
|
| + // Get last active normal browser of profile.
|
| + Browser* browser = BrowserList::FindBrowserWithType(profile,
|
| + Browser::TYPE_NORMAL,
|
| + false);
|
| if (!browser)
|
| return;
|
|
|
|
|