summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_shell_main.cc
diff options
context:
space:
mode:
authordeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-19 01:00:27 +0000
committerdeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-19 01:00:27 +0000
commit2184367eefb0d13efa8aacd12d94111929079ee0 (patch)
tree7f19462e4e7e46c61b06e13e71ad483915398c1f /webkit/tools/test_shell/test_shell_main.cc
parent6ebcc35add48c0aeac7aa7bb417d7d819fbf11ba (diff)
downloadchromium_src-2184367eefb0d13efa8aacd12d94111929079ee0.zip
chromium_src-2184367eefb0d13efa8aacd12d94111929079ee0.tar.gz
chromium_src-2184367eefb0d13efa8aacd12d94111929079ee0.tar.bz2
Make --testshell-startup-dialog work across Windows and Linux.
Review URL: http://codereview.chromium.org/11461 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5658 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/test_shell_main.cc')
-rw-r--r--webkit/tools/test_shell/test_shell_main.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/webkit/tools/test_shell/test_shell_main.cc b/webkit/tools/test_shell/test_shell_main.cc
index f4e5608..9c7ecfe 100644
--- a/webkit/tools/test_shell/test_shell_main.cc
+++ b/webkit/tools/test_shell/test_shell_main.cc
@@ -148,10 +148,8 @@ int main(int argc, char* argv[]) {
#endif
CommandLine parsed_command_line;
-#if defined(OS_WIN)
if (parsed_command_line.HasSwitch(test_shell::kStartupDialog))
- MessageBox(NULL, L"attach to me?", L"test_shell", MB_OK);
-#endif
+ TestShell::ShowStartupDebuggingDialog();
// Allocate a message loop for this thread. Although it is not used
// directly, its constructor sets up some necessary state.