| Index: content/browser/web_contents/navigation_controller_impl.cc
|
| diff --git a/content/browser/web_contents/navigation_controller_impl.cc b/content/browser/web_contents/navigation_controller_impl.cc
|
| index c8da80563404ad4aed6631c9a5dc59996dcba972..67f820773373ed71892d44b4df096c7ac8c106f3 100644
|
| --- a/content/browser/web_contents/navigation_controller_impl.cc
|
| +++ b/content/browser/web_contents/navigation_controller_impl.cc
|
| @@ -1623,12 +1623,15 @@ void NavigationControllerImpl::FinishRestore(int selected_index,
|
| }
|
|
|
| void NavigationControllerImpl::DiscardNonCommittedEntriesInternal() {
|
| + DiscardPendingEntry();
|
| + DiscardTransientEntry();
|
| +}
|
| +
|
| +void NavigationControllerImpl::DiscardPendingEntry() {
|
| if (pending_entry_index_ == -1)
|
| delete pending_entry_;
|
| pending_entry_ = NULL;
|
| pending_entry_index_ = -1;
|
| -
|
| - DiscardTransientEntry();
|
| }
|
|
|
| void NavigationControllerImpl::DiscardTransientEntry() {
|
|
|