| 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 163f1028caf09e2391d897f0a5ec2ca3dfacadd7..b1603825e1052ff8a7ef8bc7675378f2edfb77e5 100644
|
| --- a/chrome/browser/ui/browser_command_controller_browsertest.cc
|
| +++ b/chrome/browser/ui/browser_command_controller_browsertest.cc
|
| @@ -80,7 +80,7 @@ IN_PROC_BROWSER_TEST_F(BrowserCommandControllerBrowserTest, DisableFind) {
|
| // Flakes http://crbug.com/471953
|
| IN_PROC_BROWSER_TEST_F(BrowserCommandControllerBrowserTest,
|
| DISABLED_NewAvatarMenuEnabledInGuestMode) {
|
| - EXPECT_EQ(1U, BrowserList::GetInstance(chrome::GetActiveDesktop())->size());
|
| + EXPECT_EQ(1U, BrowserList::GetInstance()->size());
|
|
|
| // Create a guest browser nicely. Using CreateProfile() and CreateBrowser()
|
| // does incomplete initialization that would lead to
|
| @@ -95,7 +95,7 @@ IN_PROC_BROWSER_TEST_F(BrowserCommandControllerBrowserTest,
|
| // listen for the notification.
|
| base::MessageLoop::current()->RunUntilIdle();
|
| browser_creation_observer.Wait();
|
| - EXPECT_EQ(2U, BrowserList::GetInstance(chrome::GetActiveDesktop())->size());
|
| + EXPECT_EQ(2U, BrowserList::GetInstance()->size());
|
|
|
| // Access the browser that was created for the new Guest Profile.
|
| Profile* guest = g_browser_process->profile_manager()->GetProfileByPath(
|
|
|