diff options
author | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-28 16:10:30 +0000 |
---|---|---|
committer | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-28 16:10:30 +0000 |
commit | 50664fdc92a8d1db14d83c902f67b7a8dce76480 (patch) | |
tree | 885c0903db9610d93417b7978008834ec26be9dc /chrome/browser/navigation_controller.h | |
parent | da27ac3cbf0acb3a17878502c279dbaca90b63eb (diff) | |
download | chromium_src-50664fdc92a8d1db14d83c902f67b7a8dce76480.zip chromium_src-50664fdc92a8d1db14d83c902f67b7a8dce76480.tar.gz chromium_src-50664fdc92a8d1db14d83c902f67b7a8dce76480.tar.bz2 |
Fixes regression where we were no longer deleting TabContents when
navigating to a new TabContents.
BUG=1349274
TEST=none
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1487 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/navigation_controller.h')
-rw-r--r-- | chrome/browser/navigation_controller.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/navigation_controller.h b/chrome/browser/navigation_controller.h index 7c3c387..c2c517d 100644 --- a/chrome/browser/navigation_controller.h +++ b/chrome/browser/navigation_controller.h @@ -324,6 +324,10 @@ class NavigationController { NavigationEntry* CreateNavigationEntry(const GURL& url, PageTransition::Type transition); + // Invokes ScheduleTabContentsCollection for all TabContents but the active + // one. + void ScheduleTabContentsCollectionForInactiveTabs(); + // Schedule the TabContents currently allocated for |tc| for collection. // The TabContents will be destroyed later from a different event. void ScheduleTabContentsCollection(TabContentsType t); |