| Index: chrome/browser/ui/browser_command_controller_browsertest.cc
|
| diff --git a/chrome/browser/ui/browser_command_controller_browsertest.cc b/chrome/browser/ui/browser_command_controller_browsertest.cc
|
| index cc2ff4620e8f81e395f6a198765eb6c43b3c3570..1869cfd5b19a99eb28a3b21b9020a6e31cf056c0 100644
|
| --- a/chrome/browser/ui/browser_command_controller_browsertest.cc
|
| +++ b/chrome/browser/ui/browser_command_controller_browsertest.cc
|
| @@ -88,8 +88,7 @@ IN_PROC_BROWSER_TEST_F(BrowserCommandControllerBrowserTest,
|
| content::WindowedNotificationObserver browser_creation_observer(
|
| chrome::NOTIFICATION_BROWSER_WINDOW_READY,
|
| content::NotificationService::AllSources());
|
| - profiles::SwitchToGuestProfile(chrome::GetActiveDesktop(),
|
| - ProfileManager::CreateCallback());
|
| + profiles::SwitchToGuestProfile(ProfileManager::CreateCallback());
|
|
|
| // RunUntilIdle() (racily) isn't sufficient to ensure browser creation, so
|
| // listen for the notification.
|
|
|