diff options
Diffstat (limited to 'chrome/browser/tabs/tab_strip.cc')
-rw-r--r-- | chrome/browser/tabs/tab_strip.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/tabs/tab_strip.cc b/chrome/browser/tabs/tab_strip.cc index 04b33b3..2354f5e 100644 --- a/chrome/browser/tabs/tab_strip.cc +++ b/chrome/browser/tabs/tab_strip.cc @@ -546,6 +546,10 @@ void TabStrip::DestroyDraggedSourceTab(Tab* tab) { } tab->GetParent()->RemoveChildView(tab); delete tab; + // Force a layout here, because if we've just quickly drag detached a Tab, + // the stopping of the active animation above may have left the TabStrip in a + // bad (visual) state. + Layout(); } gfx::Rect TabStrip::GetIdealBounds(int index) { |