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

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

Issue 1686833003: Remove HostDesktopType from profiles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-16
Patch Set: desktop linux and mac Created 4 years, 10 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
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.

Powered by Google App Engine
This is Rietveld 408576698