Index: chrome/browser/ui/ash/chrome_new_window_delegate.cc |
diff --git a/chrome/browser/ui/ash/chrome_new_window_delegate.cc b/chrome/browser/ui/ash/chrome_new_window_delegate.cc |
index 65fee13cac45fd5eece7f3dcac5e64b65fb8eb87..8938afc54cd12b6cb555889beacb4a9f621aac82 100644 |
--- a/chrome/browser/ui/ash/chrome_new_window_delegate.cc |
+++ b/chrome/browser/ui/ash/chrome_new_window_delegate.cc |
@@ -88,7 +88,7 @@ void ChromeNewWindowDelegate::NewTab() { |
// Display a browser, setting the focus to the location bar after it is shown. |
{ |
chrome::ScopedTabbedBrowserDisplayer displayer( |
- ProfileManager::GetActiveUserProfile(), chrome::HOST_DESKTOP_TYPE_ASH); |
+ ProfileManager::GetActiveUserProfile()); |
browser = displayer.browser(); |
chrome::NewTab(browser); |
} |
@@ -98,9 +98,8 @@ void ChromeNewWindowDelegate::NewTab() { |
void ChromeNewWindowDelegate::NewWindow(bool is_incognito) { |
Profile* profile = ProfileManager::GetActiveUserProfile(); |
- chrome::NewEmptyWindow( |
- is_incognito ? profile->GetOffTheRecordProfile() : profile, |
- chrome::HOST_DESKTOP_TYPE_ASH); |
+ chrome::NewEmptyWindow(is_incognito ? profile->GetOffTheRecordProfile() |
+ : profile); |
} |
void ChromeNewWindowDelegate::RestoreTab() { |