Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index 17e4875da9c03244cd432c0eb68f07a05241f8d9..00b41b81c0c9fe78ae513ce08b394f61232a71fe 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -3878,7 +3878,6 @@ void WebContentsImpl::RunJavaScriptMessage( |
void WebContentsImpl::RunBeforeUnloadConfirm( |
RenderFrameHost* render_frame_host, |
- const base::string16& message, |
bool is_reload, |
IPC::Message* reply_msg) { |
RenderFrameHostImpl* rfhi = |
@@ -3899,7 +3898,7 @@ void WebContentsImpl::RunBeforeUnloadConfirm( |
is_showing_before_unload_dialog_ = true; |
dialog_manager_ = delegate_->GetJavaScriptDialogManager(this); |
dialog_manager_->RunBeforeUnloadDialog( |
- this, message, is_reload, |
+ this, is_reload, |
base::Bind(&WebContentsImpl::OnDialogClosed, base::Unretained(this), |
render_frame_host->GetProcess()->GetID(), |
render_frame_host->GetRoutingID(), reply_msg, |