Index: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm |
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm |
index ba04ffde0d70c78357bf363cd614e92562b049f3..a328e3dc51170980de597a366b7ff0c20aeba43f 100644 |
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm |
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm |
@@ -312,6 +312,9 @@ void RecordAppLaunch(Profile* profile, GURL url) { |
} |
- (void)dealloc { |
+ // Clear delegate so it doesn't get called during stopAnimation. |
+ [[self animatableView] setResizeDelegate:nil]; |
+ |
// We better stop any in-flight animation if we're being killed. |
[[self animatableView] stopAnimation]; |