| Index: chrome/browser/ui/unload_controller.cc
|
| diff --git a/chrome/browser/ui/unload_controller.cc b/chrome/browser/ui/unload_controller.cc
|
| index b52348c30ae25d9568f6c3ea1fb7967e96ca1f00..2a400fe0b0dcc42595ddc0c6c0374a1ea9a0ed82 100644
|
| --- a/chrome/browser/ui/unload_controller.cc
|
| +++ b/chrome/browser/ui/unload_controller.cc
|
| @@ -220,6 +220,7 @@ bool UnloadController::DetachWebContents(content::WebContents* contents) {
|
| if (index != TabStripModel::kNoTab &&
|
| contents->NeedToFireBeforeUnload()) {
|
| tabs_needing_unload_ack_.insert(contents);
|
| + contents->OnUnloadAboutToDetach();
|
| browser_->tab_strip_model()->DetachWebContentsAt(index);
|
| contents->SetDelegate(detached_delegate_.get());
|
| contents->OnUnloadDetachedStarted();
|
|
|