mirror of
https://github.com/microsoft/playwright.git
synced 2025-01-05 10:15:12 +03:00
browser(firefox): fix build on Windows (#5275)
This commit is contained in:
parent
cb1b64289c
commit
bbfbb1b2f7
@ -1,2 +1,2 @@
|
||||
1227
|
||||
Changed: lushnikov@chromium.org Mon 01 Feb 2021 03:46:01 PM PST
|
||||
1228
|
||||
Changed: lushnikov@chromium.org Wed Feb 3 08:52:41 MST 2021
|
||||
|
@ -110,8 +110,8 @@ nsresult nsRemoteDebuggingPipe::Init(nsIRemoteDebuggingPipeClient* aClient) {
|
||||
#if defined(_WIN32)
|
||||
CHAR pipeReadStr[20];
|
||||
CHAR pipeWriteStr[20];
|
||||
GetEnvironmentVariable("PW_PIPE_READ", pipeReadStr, 20);
|
||||
GetEnvironmentVariable("PW_PIPE_WRITE", pipeWriteStr, 20);
|
||||
GetEnvironmentVariableA("PW_PIPE_READ", pipeReadStr, 20);
|
||||
GetEnvironmentVariableA("PW_PIPE_WRITE", pipeWriteStr, 20);
|
||||
readHandle = reinterpret_cast<HANDLE>(atoi(pipeReadStr));
|
||||
writeHandle = reinterpret_cast<HANDLE>(atoi(pipeWriteStr));
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user