Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5048)

Unified Diff: chrome/browser/ui/browser_command_controller_browsertest.cc

Issue 1637943003: Remove HostDesktopType from BrowserList::GetInstance() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@screen-wrapper-land
Patch Set: mac2 Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/browser_finder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/browser_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698