summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/navigation_controller.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/navigation_controller.cc b/chrome/browser/navigation_controller.cc
index 1b86157..e35ee59 100644
--- a/chrome/browser/navigation_controller.cc
+++ b/chrome/browser/navigation_controller.cc
@@ -191,6 +191,8 @@ NavigationController::~NavigationController() {
DCHECK(tab_contents_map_.empty());
DCHECK(tab_contents_collector_map_.empty());
+ DiscardPendingEntryInternal();
+
profile_->UnregisterNavigationController(this);
NotificationService::current()->Notify(NOTIFY_TAB_CLOSED,
Source<NavigationController>(this),