| Index: chrome/browser/ui/extensions/extension_install_ui_default.cc
|
| diff --git a/chrome/browser/ui/extensions/extension_install_ui_default.cc b/chrome/browser/ui/extensions/extension_install_ui_default.cc
|
| index b954ca40268b5b4dcb43b75a774fe0e24beef709..18481686c47feb3858127d44048b27e172af6bb3 100644
|
| --- a/chrome/browser/ui/extensions/extension_install_ui_default.cc
|
| +++ b/chrome/browser/ui/extensions/extension_install_ui_default.cc
|
| @@ -211,8 +211,7 @@ void ExtensionInstallUIDefault::OnInstallFailure(
|
| if (disable_failure_ui_for_tests() || skip_post_install_ui_)
|
| return;
|
|
|
| - Browser* browser =
|
| - chrome::FindLastActiveWithProfile(profile_, chrome::GetActiveDesktop());
|
| + Browser* browser = chrome::FindLastActiveWithProfile(profile_);
|
| if (!browser) // Can be NULL in unittests.
|
| return;
|
| WebContents* web_contents =
|
| @@ -256,8 +255,7 @@ void ExtensionInstallUIDefault::SetSkipPostInstallUI(bool skip_ui) {
|
| }
|
|
|
| gfx::NativeWindow ExtensionInstallUIDefault::GetDefaultInstallDialogParent() {
|
| - Browser* browser =
|
| - chrome::FindLastActiveWithProfile(profile_, chrome::GetActiveDesktop());
|
| + Browser* browser = chrome::FindLastActiveWithProfile(profile_);
|
| if (browser) {
|
| content::WebContents* contents =
|
| browser->tab_strip_model()->GetActiveWebContents();
|
|
|