Index: chrome/browser/ui/browser.cc |
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc |
index 24f7c6fe93ddce7398eace9155dd522f40c730c3..e91f4c78c26df2f36df21c5f7a20c0c1619cadc6 100644 |
--- a/chrome/browser/ui/browser.cc |
+++ b/chrome/browser/ui/browser.cc |
@@ -610,7 +610,8 @@ TabContents* Browser::OpenApplicationTab(Profile* profile, |
DCHECK(extensions_service); |
ExtensionPrefs::LaunchType launch_type = |
- extensions_service->extension_prefs()->GetLaunchType(extension->id()); |
+ extensions_service->extension_prefs()->GetLaunchType( |
+ extension->id(), ExtensionPrefs::LAUNCH_REGULAR); |
UMA_HISTOGRAM_ENUMERATION("Extensions.AppTabLaunchType", launch_type, 100); |
int add_type = TabStripModel::ADD_SELECTED; |
if (launch_type == ExtensionPrefs::LAUNCH_PINNED) |
@@ -3130,7 +3131,7 @@ void Browser::OnDidGetApplicationInfo(TabContents* tab_contents, |
switch (pending_web_app_action_) { |
case CREATE_SHORTCUT: { |
- window()->ShowCreateShortcutsDialog(current_tab); |
+ window()->ShowCreateWebAppShortcutsDialog(current_tab); |
break; |
} |
case UPDATE_SHORTCUT: { |