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

Unified Diff: chrome/browser/ui/browser_tab_strip_tracker.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_tab_restorer.cc ('k') | chrome/browser/ui/browser_tabrestore_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_tab_strip_tracker.cc
diff --git a/chrome/browser/ui/browser_tab_strip_tracker.cc b/chrome/browser/ui/browser_tab_strip_tracker.cc
index ef34ce32ff896c67727da0d6fa4550bce913f739..16e78dc1d0844be0463e852244d66875331211ac 100644
--- a/chrome/browser/ui/browser_tab_strip_tracker.cc
+++ b/chrome/browser/ui/browser_tab_strip_tracker.cc
@@ -34,8 +34,7 @@ void BrowserTabStripTracker::Init(InitWith init_with) {
base::AutoReset<bool> restter(&is_processing_initial_browsers_, true);
if (init_with == InitWith::BROWSERS_IN_ACTIVE_DESKTOP) {
- for (Browser* browser :
- *BrowserList::GetInstance(chrome::GetActiveDesktop()))
+ for (Browser* browser : *BrowserList::GetInstance())
MaybeTrackBrowser(browser);
} else {
DCHECK(InitWith::ALL_BROWERS == init_with);
« no previous file with comments | « chrome/browser/ui/browser_tab_restorer.cc ('k') | chrome/browser/ui/browser_tabrestore_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698