| 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 d00938e41bdaece24ecc384337a155384d442d59..68c71de98b63ae9420e30ab9c1975353474c23d3 100644
|
| --- a/content/browser/web_contents/web_contents_impl.h
|
| +++ b/content/browser/web_contents/web_contents_impl.h
|
| @@ -666,8 +666,11 @@ class CONTENT_EXPORT WebContentsImpl
|
| // watching |web_contents|. No-op if there is no such observer.
|
| void RemoveDestructionObserver(WebContentsImpl* web_contents);
|
|
|
| - // Callback function when showing JavaScript dialogs.
|
| - void OnDialogClosed(RenderFrameHost* rfh,
|
| + // 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,
|
| IPC::Message* reply_msg,
|
| bool dialog_was_suppressed,
|
| bool success,
|
|
|