Removed unused argument from FrameMsg_Reload.

[email protected]

Bug: 995428, 968529
Change-Id: I830ffc2acab8e9b52d06a89f6fb101a237d79d4a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1807309
Reviewed-by: Arthur Sonzogni <[email protected]>
Reviewed-by: Camille Lamy <[email protected]>
Reviewed-by: Avi Drissman <[email protected]>
Commit-Queue: Arthur Sonzogni <[email protected]>
Cr-Commit-Position: refs/heads/master@{#700680}
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index c0d8053..5c99617 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -3667,13 +3667,15 @@
       render_view_host->GetRoutingID(), history_offset, history_length));
 }
 
-void WebContentsImpl::ReloadFocusedFrame(bool bypass_cache) {
+void WebContentsImpl::ReloadFocusedFrame() {
   RenderFrameHost* focused_frame = GetFocusedFrame();
   if (!focused_frame)
     return;
 
-  focused_frame->Send(new FrameMsg_Reload(
-      focused_frame->GetRoutingID(), bypass_cache));
+  // TODO(https://crbug.com/995428). This function is deprecated. Navigations
+  // are handled from the browser process. There is no need to send an IPC to
+  // the renderer process for this.
+  focused_frame->Send(new FrameMsg_Reload(focused_frame->GetRoutingID()));
 }
 
 std::vector<mojo::Remote<blink::mojom::PauseSubresourceLoadingHandle>>