diff --git a/client/crashpad_client_win.cc b/client/crashpad_client_win.cc index 4963f24f..e1bdf72c 100644 --- a/client/crashpad_client_win.cc +++ b/client/crashpad_client_win.cc @@ -274,8 +274,13 @@ void AddUint64(std::vector* data_vector, uint64_t data) { //! \param[out] pipe_handle The first pipe instance corresponding for the pipe. void CreatePipe(std::wstring* pipe_name, ScopedFileHANDLE* pipe_instance) { int tries = 5; - std::string pipe_name_base = - base::StringPrintf("\\\\.\\pipe\\crashpad_%lu_", GetCurrentProcessId()); + std::string pipe_name_base = base::StringPrintf( +#if defined(WINDOWS_UWP) + "\\\\.\\pipe\\LOCAL\\crashpad_%lu_", +#else + "\\\\.\\pipe\\crashpad_%lu_", +#endif + GetCurrentProcessId()); do { *pipe_name = base::UTF8ToUTF16(pipe_name_base + RandomString());