Index: chrome/browser/ui/browser.cc |
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc |
index 4f42a36f33c00870773a135baccfd22ddb214bb1..6c29cbed20d0a30713dd685d9d61b3094b1ebb40 100644 |
--- a/chrome/browser/ui/browser.cc |
+++ b/chrome/browser/ui/browser.cc |
@@ -333,7 +333,8 @@ Browser::Browser(const CreateParams& params) |
override_bounds_(params.initial_bounds), |
initial_show_state_(params.initial_show_state), |
is_session_restore_(params.is_session_restore), |
- host_desktop_type_(params.host_desktop_type), |
+ host_desktop_type_(BrowserWindow::AdjustHostDesktopType( |
+ params.host_desktop_type)), |
content_setting_bubble_model_delegate_( |
new BrowserContentSettingBubbleModelDelegate(this)), |
toolbar_model_delegate_(new BrowserToolbarModelDelegate(this)), |