Index: content/browser/frame_host/navigator_impl.cc |
diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc |
index 234d38d6300b91a269d52f1ba2d584358f741407..d0c1f85a4f3ba3fad4de173b5cd1f2bf36bf372f 100644 |
--- a/content/browser/frame_host/navigator_impl.cc |
+++ b/content/browser/frame_host/navigator_impl.cc |
@@ -243,11 +243,7 @@ void NavigatorImpl::DidFailProvisionalLoadWithError( |
} |
// Discard the pending navigation entry if needed. |
- // PlzNavigate: the entry has already been discarded in FailedNavigation. |
- if (!IsBrowserSideNavigationEnabled()) { |
- DiscardPendingEntryOnFailureIfNeeded( |
- render_frame_host->navigation_handle()); |
- } |
+ DiscardPendingEntryOnFailureIfNeeded(render_frame_host->navigation_handle()); |
if (delegate_) { |
delegate_->DidFailProvisionalLoadWithError( |