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

Unified Diff: chrome/browser/chromeos/policy/restore_on_startup_browsertest_chromeos.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
Index: chrome/browser/chromeos/policy/restore_on_startup_browsertest_chromeos.cc
diff --git a/chrome/browser/chromeos/policy/restore_on_startup_browsertest_chromeos.cc b/chrome/browser/chromeos/policy/restore_on_startup_browsertest_chromeos.cc
index 8d7cecc40055d06b2423f384a20fca072e29225d..64e993b74fb329b242dd99d4b915e71186b1a492 100644
--- a/chrome/browser/chromeos/policy/restore_on_startup_browsertest_chromeos.cc
+++ b/chrome/browser/chromeos/policy/restore_on_startup_browsertest_chromeos.cc
@@ -68,8 +68,7 @@ void RestoreOnStartupTestChromeOS::GetMandatoryPoliciesValue(
void RestoreOnStartupTestChromeOS::LogInAndVerifyStartUpURLs() {
LogIn(kAccountId, kAccountPassword);
- const BrowserList* const browser_list =
- BrowserList::GetInstance(chrome::HOST_DESKTOP_TYPE_ASH);
+ const BrowserList* const browser_list = BrowserList::GetInstance();
ASSERT_EQ(1U, browser_list->size());
const Browser* const browser = browser_list->get(0);
ASSERT_TRUE(browser);

Powered by Google App Engine
This is Rietveld 408576698