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

Unified Diff: chrome/browser/ui/views/tabs/tab_drag_controller.cc

Issue 1644773003: Remove BrowserIterator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@host-desktop-1
Patch Set: . 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/ui/views/tabs/tab_drag_controller.cc
diff --git a/chrome/browser/ui/views/tabs/tab_drag_controller.cc b/chrome/browser/ui/views/tabs/tab_drag_controller.cc
index 1d4faf0980bde8ab58352b07b5d74aff1589bd6d..82b4d769b7bb67b55a6d1a69bf62cd2333533657 100644
--- a/chrome/browser/ui/views/tabs/tab_drag_controller.cc
+++ b/chrome/browser/ui/views/tabs/tab_drag_controller.cc
@@ -1811,7 +1811,7 @@ gfx::NativeWindow TabDragController::GetLocalProcessWindow(
// window which was used for dragging is not hidden once all of its tabs are
// attached to another browser window in DragBrowserToNewTabStrip().
// TODO(pkotwicz): Fix this properly (crbug.com/358482)
- for (auto& browser : *BrowserList::GetInstance()) {
+ for (auto* browser : *BrowserList::GetInstance()) {
if (browser->tab_strip_model()->empty())
exclude.insert(browser->window()->GetNativeWindow());
}

Powered by Google App Engine
This is Rietveld 408576698