Index: chrome/browser/ui/browser.cc |
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc |
index 141171682af4670513c70420410e98df986bd513..61b0988d192dcc49a1583bbd4a604b362e9c0bb5 100644 |
--- a/chrome/browser/ui/browser.cc |
+++ b/chrome/browser/ui/browser.cc |
@@ -447,6 +447,8 @@ Browser::Browser(const CreateParams& params) |
} |
Browser::~Browser() { |
+ registrar_.RemoveAll(); |
sky
2014/05/07 22:17:32
Why is this explicitly needed? Assuming it is neee
scheib
2014/05/08 15:17:52
Done.
|
+ |
// The tab strip should not have any tabs at this point. |
DCHECK(tab_strip_model_->empty()); |
tab_strip_model_->RemoveObserver(this); |