Index: handler/win/crashy_test_z7_loader.cc |
diff --git a/handler/win/crashy_test_z7_loader.cc b/handler/win/crashy_test_z7_loader.cc |
index 4788dbe9afcda7e3913a119fe0b5af9b23523f41..284afa8654ed53fef429749a375536b09d993f66 100644 |
--- a/handler/win/crashy_test_z7_loader.cc |
+++ b/handler/win/crashy_test_z7_loader.cc |
@@ -20,7 +20,6 @@ |
#include "build/build_config.h" |
#include "client/crashpad_client.h" |
#include "test/paths.h" |
-#include "tools/tool_support.h" |
#if !defined(ARCH_CPU_X86) |
#error This test is only supported on x86. |
@@ -29,14 +28,14 @@ |
namespace crashpad { |
namespace { |
-int CrashyLoadZ7Main(int argc, char* argv[]) { |
+int CrashyLoadZ7Main(int argc, wchar_t* argv[]) { |
if (argc != 2) { |
- fprintf(stderr, "Usage: %s <server_pipe_name>\n", argv[0]); |
+ fprintf(stderr, "Usage: %ls <server_pipe_name>\n", argv[0]); |
return EXIT_FAILURE; |
} |
CrashpadClient client; |
- if (!client.SetHandler(argv[1])) { |
+ if (!client.SetHandlerIPCPipe(argv[1])) { |
LOG(ERROR) << "SetHandler"; |
return EXIT_FAILURE; |
} |
@@ -69,5 +68,5 @@ int CrashyLoadZ7Main(int argc, char* argv[]) { |
} // namespace crashpad |
int wmain(int argc, wchar_t* argv[]) { |
- return crashpad::ToolSupport::Wmain(argc, argv, crashpad::CrashyLoadZ7Main); |
+ return crashpad::CrashyLoadZ7Main(argc, argv); |
} |