Index: trunk/src/chrome/browser/ui/tabs/tab_strip_model.cc |
=================================================================== |
--- trunk/src/chrome/browser/ui/tabs/tab_strip_model.cc (revision 255951) |
+++ trunk/src/chrome/browser/ui/tabs/tab_strip_model.cc (working copy) |
@@ -1250,12 +1250,6 @@ |
void TabStripModel::InternalCloseTab(WebContents* contents, |
int index, |
bool create_historical_tabs) { |
- // Reset the blocked state of the tab, and fire a notification if necessary. |
- // <http://crbug.com/336386#c4> . TODO(avi): Remove all the "blocked" code and |
- // the WebContentsModalDialogManager from TabStripModel, and move all that |
- // tracking code to the modal dialog code, where it belongs. |
- SetTabBlocked(index, false); |
- |
FOR_EACH_OBSERVER(TabStripModelObserver, observers_, |
TabClosingAt(this, contents, index)); |