summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_install_ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extension_install_ui.cc')
-rw-r--r--chrome/browser/extensions/extension_install_ui.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/extensions/extension_install_ui.cc b/chrome/browser/extensions/extension_install_ui.cc
index 857b4e8..b6ef578 100644
--- a/chrome/browser/extensions/extension_install_ui.cc
+++ b/chrome/browser/extensions/extension_install_ui.cc
@@ -148,9 +148,7 @@ void ExtensionInstallUI::OnInstallSuccess(Extension* extension) {
std::string url(chrome::kChromeUINewTabURL);
url += "/#";
url += hash_params;
- browser->AddTabWithURL(GURL(url), GURL(), PageTransition::TYPED, -1,
- TabStripModel::ADD_SELECTED, NULL, std::string(),
- NULL);
+ browser->AddSelectedTabWithURL(GURL(url), PageTransition::TYPED);
}
return;