summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/app_launcher.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/app_launcher.cc')
-rw-r--r--chrome/browser/views/app_launcher.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/browser/views/app_launcher.cc b/chrome/browser/views/app_launcher.cc
index c011d87..6c5a635 100644
--- a/chrome/browser/views/app_launcher.cc
+++ b/chrome/browser/views/app_launcher.cc
@@ -363,10 +363,7 @@ void AppLauncher::InfoBubbleClosing(InfoBubble* info_bubble,
void AppLauncher::AddTabWithURL(const GURL& url,
PageTransition::Type transition) {
- browser_->AddTabWithURL(
- url, GURL(), transition, -1,
- TabStripModel::ADD_SELECTED | TabStripModel::ADD_FORCE_INDEX, NULL,
- std::string(), NULL);
+ browser_->AddSelectedTabWithURL(url, transition);
}
void AppLauncher::Resize(const gfx::Size& contents_size) {