| Index: chrome/browser/browser.cc
|
| diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
|
| index b3ad0d31215dcae5938e2f996155579c657a87e0..b281eb79c11fe06b35f35d68a3607c5e159ad950 100644
|
| --- a/chrome/browser/browser.cc
|
| +++ b/chrome/browser/browser.cc
|
| @@ -2968,7 +2968,10 @@ void Browser::Observe(NotificationType type,
|
| break;
|
|
|
| case NotificationType::EXTENSION_READY_FOR_INSTALL: {
|
| - if (BrowserList::GetLastActive() != this)
|
| + // Handle EXTENSION_READY_FOR_INSTALL for last active normal browser.
|
| + if (BrowserList::FindBrowserWithType(profile(),
|
| + Browser::TYPE_NORMAL,
|
| + false) != this)
|
| break;
|
|
|
| // We only want to show the loading dialog for themes, but we don't want
|
|
|