| Index: chrome/browser/tabs/tab_strip_model.cc
|
| ===================================================================
|
| --- chrome/browser/tabs/tab_strip_model.cc (revision 14948)
|
| +++ chrome/browser/tabs/tab_strip_model.cc (working copy)
|
| @@ -515,9 +515,6 @@
|
|
|
| bool TabStripModel::InternalCloseTabContentsAt(int index,
|
| bool create_historical_tab) {
|
| - if (!delegate_->CanCloseContentsAt(index))
|
| - return false;
|
| -
|
| TabContents* detached_contents = GetContentsAt(index);
|
|
|
| if (delegate_->RunUnloadListenerBeforeClosing(detached_contents))
|
|
|