| Index: content/browser/frame_host/navigation_controller_impl.cc
|
| diff --git a/content/browser/frame_host/navigation_controller_impl.cc b/content/browser/frame_host/navigation_controller_impl.cc
|
| index 6b2f51d48da88cb79de218d3549b81507eb40d8e..d62fea6d1e7ea8667e6cde8a402e37824408b500 100644
|
| --- a/content/browser/frame_host/navigation_controller_impl.cc
|
| +++ b/content/browser/frame_host/navigation_controller_impl.cc
|
| @@ -2128,8 +2128,6 @@ void NavigationControllerImpl::DiscardTransientEntry() {
|
| entries_.erase(entries_.begin() + transient_entry_index_);
|
| if (last_committed_entry_index_ > transient_entry_index_)
|
| last_committed_entry_index_--;
|
| - if (pending_entry_index_ > transient_entry_index_)
|
| - pending_entry_index_--;
|
| transient_entry_index_ = -1;
|
| }
|
|
|
| @@ -2157,8 +2155,6 @@ void NavigationControllerImpl::SetTransientEntry(
|
| DiscardTransientEntry();
|
| entries_.insert(entries_.begin() + index,
|
| NavigationEntryImpl::FromNavigationEntry(std::move(entry)));
|
| - if (pending_entry_index_ >= index)
|
| - pending_entry_index_++;
|
| transient_entry_index_ = index;
|
| delegate_->NotifyNavigationStateChanged(INVALIDATE_TYPE_ALL);
|
| }
|
|
|