Index: chrome/browser/ui/browser_command_controller_unittest.cc |
diff --git a/chrome/browser/ui/browser_command_controller_unittest.cc b/chrome/browser/ui/browser_command_controller_unittest.cc |
index 87e9be5085c99064d735dc65c5afaee58c7153b1..6d50522e2c6c36325cc1f2fd4fd95394473de8a1 100644 |
--- a/chrome/browser/ui/browser_command_controller_unittest.cc |
+++ b/chrome/browser/ui/browser_command_controller_unittest.cc |
@@ -301,8 +301,7 @@ TEST_F(BrowserCommandControllerTest, |
profile1->SetOffTheRecordProfile(profile2); |
// Create a new browser based on the off the record profile. |
- Browser::CreateParams profile_params(profile2, |
- chrome::HOST_DESKTOP_TYPE_NATIVE); |
+ Browser::CreateParams profile_params(profile2, chrome::GetActiveDesktop()); |
scoped_ptr<Browser> browser2( |
chrome::CreateBrowserWithTestWindowForParams(&profile_params)); |