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 2229ff0952c79f9f8b9d32bb552f026c7c78cb48..5278a6797a1d1f627d4cb9b834ec994aa24b55d0 100644 |
--- a/content/browser/frame_host/navigation_controller_impl.cc |
+++ b/content/browser/frame_host/navigation_controller_impl.cc |
@@ -326,16 +326,6 @@ void NavigationControllerImpl::ReloadInternal(bool check_for_repost, |
if (!entry) |
return; |
- if (reload_type == NavigationControllerImpl::RELOAD_ORIGINAL_REQUEST_URL && |
- entry->GetOriginalRequestURL().is_valid() && !entry->GetHasPostData()) { |
- // We may have been redirected when navigating to the current URL. |
- // Use the URL the user originally intended to visit, if it's valid and if a |
- // POST wasn't involved; the latter case avoids issues with sending data to |
- // the wrong page. |
- entry->SetURL(entry->GetOriginalRequestURL()); |
- entry->SetReferrer(Referrer()); |
- } |
- |
if (g_check_for_repost && check_for_repost && |
entry->GetHasPostData()) { |
// The user is asking to reload a page with POST data. Prompt to make sure |