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

Unified Diff: chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc

Issue 10809087: Merge 147513 - Change variable name to avoid scoping issues. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1180/src/
Patch Set: Created 8 years, 5 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/gtk/tabs/tab_gtk.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc
===================================================================
--- chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc (revision 148208)
+++ chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc (working copy)
@@ -1280,9 +1280,11 @@
std::vector<TabGtk*> tabs;
for (size_t i = 0; i < model()->selection_model().size(); i++) {
- TabGtk* tab = GetTabAt(model()->selection_model().selected_indices()[i]);
- if (!tab->closing())
- tabs.push_back(tab);
+ TabGtk* selected_tab =
+ GetTabAtAdjustForAnimation(
+ model()->selection_model().selected_indices()[i]);
+ if (!selected_tab->closing())
+ tabs.push_back(selected_tab);
}
drag_controller_.reset(new DraggedTabControllerGtk(this, tab, tabs));
« no previous file with comments | « chrome/browser/ui/gtk/tabs/tab_gtk.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698