summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser.cc')
-rw-r--r--chrome/browser/browser.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index e1fab37..af660d4 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -944,6 +944,10 @@ StatusBubble* Browser::GetStatusBubble() {
// of any WS_POPUP HWNDs.
void Browser::WindowMoved() {
DCHECK(!g_browser_process->IsUsingNewFrames());
+ // Cancel any tabstrip animations, some of them may be invalidated by the
+ // window being repositioned.
+ window_->GetTabStrip()->DestroyDragController();
+
GetStatusBubble()->Reposition();
// Close the omnibox popup, if any.