Index: components/web_modal/web_contents_modal_dialog_manager.cc |
diff --git a/components/web_modal/web_contents_modal_dialog_manager.cc b/components/web_modal/web_contents_modal_dialog_manager.cc |
index a182acbf4cf56e1ecac6266a98f44cfd4de2957e..2fec611d723eeed06da23e4c4bb3149458a8c312 100644 |
--- a/components/web_modal/web_contents_modal_dialog_manager.cc |
+++ b/components/web_modal/web_contents_modal_dialog_manager.cc |
@@ -188,7 +188,7 @@ void WebContentsModalDialogManager::WasHidden() { |
child_dialogs_.front()->manager->Hide(); |
} |
-void WebContentsModalDialogManager::WebContentsDestroyed(WebContents* tab) { |
+void WebContentsModalDialogManager::WebContentsDestroyed() { |
// First cleanly close all child dialogs. |
// TODO(mpcomplete): handle case if MaybeCloseChildWindows() already asked |
// some of these to close. CloseAllDialogs is async, so it might get called |