| Index: content/browser/frame_host/render_frame_host_impl.cc
|
| diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
|
| index 15283cb405f4729ad809960ddc183ff5da2961cf..cd8757c1aecdf38d8abdec90b230c506a6de10e1 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.cc
|
| +++ b/content/browser/frame_host/render_frame_host_impl.cc
|
| @@ -1826,17 +1826,11 @@ void RenderFrameHostImpl::OnRunJavaScriptDialog(
|
| }
|
|
|
| void RenderFrameHostImpl::OnRunBeforeUnloadConfirm(
|
| - const GURL& frame_url,
|
| bool is_reload,
|
| IPC::Message* reply_msg) {
|
| TRACE_EVENT1("navigation", "RenderFrameHostImpl::OnRunBeforeUnloadConfirm",
|
| "frame_tree_node", frame_tree_node_->frame_tree_node_id());
|
|
|
| - // TODO(nasko): It is strange to accept the frame URL as a parameter from
|
| - // the renderer. Investigate and remove parameter, but for now let's
|
| - // double check.
|
| - DCHECK_EQ(frame_url, last_committed_url_);
|
| -
|
| // While a JS beforeunload dialog is showing, tabs in the same process
|
| // shouldn't process input events.
|
| GetProcess()->SetIgnoreInputEvents(true);
|
|
|