Index: content/browser/web_contents/web_contents_impl.h |
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h |
index 604ff78c2487874571197bb65510993f84d8bd37..cc4f43502b0d9ee7419e13ba4d0953a1cfbc1711 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -665,11 +665,8 @@ |
// watching |web_contents|. No-op if there is no such observer. |
void RemoveDestructionObserver(WebContentsImpl* web_contents); |
- // Callback function when showing JavaScript dialogs. Takes in a routing ID |
- // pair to identify the RenderFrameHost that opened the dialog, because it's |
- // possible for the RenderFrameHost to be deleted by the time this is called. |
- void OnDialogClosed(int render_process_id, |
- int render_frame_id, |
+ // Callback function when showing JavaScript dialogs. |
+ void OnDialogClosed(RenderFrameHost* rfh, |
IPC::Message* reply_msg, |
bool dialog_was_suppressed, |
bool success, |