Index: chrome/test/base/ui_test_utils.cc |
=================================================================== |
--- chrome/test/base/ui_test_utils.cc (revision 147965) |
+++ chrome/test/base/ui_test_utils.cc (working copy) |
@@ -566,11 +566,6 @@ |
return content::Source<AppModalDialog>(observer.source()).ptr(); |
} |
-void WaitForAppModalDialogAndCloseIt() { |
- AppModalDialog* dialog = WaitForAppModalDialog(); |
- dialog->CloseModalDialog(); |
-} |
- |
void CrashTab(WebContents* tab) { |
content::RenderProcessHost* rph = tab->GetRenderProcessHost(); |
content::WindowedNotificationObserver observer( |