commit | 818c264f8d43b613b6e055e1c89085d046dd57b7 | [log] [tgz] |
---|---|---|
author | arthursonzogni <[email protected]> | Fri Sep 27 12:18:10 2019 |
committer | Commit Bot <[email protected]> | Fri Sep 27 12:18:10 2019 |
tree | d88cfa12d1767152d49a6fc223afa2e874ba5c25 | |
parent | f8491c857aa3ab4adba68dddb9cfe047f6bf130f [diff] [blame] |
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>>