summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tabs
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-05 00:27:49 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-05 00:27:49 +0000
commit886c8f35e1333eac1f5594fe2ad0441ad66d5a5f (patch)
treed60afc034a218cb5a0614542ce06d774359dd063 /chrome/browser/tabs
parent6b6ee027ab8952c404b42842ce797b459859145e (diff)
downloadchromium_src-886c8f35e1333eac1f5594fe2ad0441ad66d5a5f.zip
chromium_src-886c8f35e1333eac1f5594fe2ad0441ad66d5a5f.tar.gz
chromium_src-886c8f35e1333eac1f5594fe2ad0441ad66d5a5f.tar.bz2
Clean up phantom tabs that are leaked in the unit test.
Review URL: http://codereview.chromium.org/669042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40694 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tabs')
-rw-r--r--chrome/browser/tabs/tab_strip_model_unittest.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/tabs/tab_strip_model_unittest.cc b/chrome/browser/tabs/tab_strip_model_unittest.cc
index 2329f0c..4b67a43 100644
--- a/chrome/browser/tabs/tab_strip_model_unittest.cc
+++ b/chrome/browser/tabs/tab_strip_model_unittest.cc
@@ -1746,4 +1746,7 @@ TEST_F(TabStripModelTest, Phantom) {
observer.ClearStates();
}
+
+ // Clean up the phantom tabs.
+ tabstrip.CloseAllTabs();
}