| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index 7d0394fb25122655036b902a6fb8270ebfe87b07..ac29b0c21dcac42b18eb2e9ba3fab75c790b7ddd 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -751,11 +751,7 @@ void Browser::OnWindowClosing() {
|
| if (tab_restore_service && is_type_tabbed() && tab_strip_model_->count())
|
| tab_restore_service->BrowserClosing(live_tab_context());
|
|
|
| - // TODO(sky): convert session/tab restore to use notification.
|
| - content::NotificationService::current()->Notify(
|
| - chrome::NOTIFICATION_BROWSER_CLOSING,
|
| - content::Source<Browser>(this),
|
| - content::NotificationService::NoDetails());
|
| + BrowserList::NotifyBrowserCloseStarted(this);
|
|
|
| if (!IsFastTabUnloadEnabled())
|
| tab_strip_model_->CloseAllTabs();
|
|
|