Index: third_party/crashpad/crashpad/snapshot/win/exception_snapshot_win_test.cc |
diff --git a/third_party/crashpad/crashpad/snapshot/win/exception_snapshot_win_test.cc b/third_party/crashpad/crashpad/snapshot/win/exception_snapshot_win_test.cc |
index 88612df31761082b22031ff3d4c1732f5135973b..af0cc3a61a8fbf110fdc865f9945d0423a08c605 100644 |
--- a/third_party/crashpad/crashpad/snapshot/win/exception_snapshot_win_test.cc |
+++ b/third_party/crashpad/crashpad/snapshot/win/exception_snapshot_win_test.cc |
@@ -126,7 +126,8 @@ void TestCrashingChild(const base::string16& directory_modification) { |
CrashingDelegate delegate(server_ready.get(), completed.get()); |
ExceptionHandlerServer exception_handler_server(true); |
- std::wstring pipe_name = exception_handler_server.CreatePipe(); |
+ std::wstring pipe_name(L"\\\\.\\pipe\\test_name"); |
+ exception_handler_server.SetPipeName(pipe_name); |
RunServerThread server_thread(&exception_handler_server, &delegate); |
server_thread.Start(); |
ScopedStopServerAndJoinThread scoped_stop_server_and_join_thread( |
@@ -227,7 +228,8 @@ void TestDumpWithoutCrashingChild( |
SimulateDelegate delegate(server_ready.get(), completed.get()); |
ExceptionHandlerServer exception_handler_server(true); |
- std::wstring pipe_name = exception_handler_server.CreatePipe(); |
+ std::wstring pipe_name(L"\\\\.\\pipe\\test_name"); |
+ exception_handler_server.SetPipeName(pipe_name); |
RunServerThread server_thread(&exception_handler_server, &delegate); |
server_thread.Start(); |
ScopedStopServerAndJoinThread scoped_stop_server_and_join_thread( |