3022548: Removing windows.h includes from some base headers

https://chromium-review.googlesource.com/c/chromium/src/+/3022548
This commit is contained in:
Shelley Vohr
2021-07-15 18:08:33 -04:00
parent b2e9f2212e
commit 8b48103907
2 changed files with 5 additions and 1 deletions

View File

@@ -6,6 +6,10 @@
#include <utility>
#if defined(OS_WIN)
#include <windows.h>
#endif
#include "base/files/file_util.h"
#include "base/logging.h"
#include "base/path_service.h"

View File

@@ -110,7 +110,7 @@ void RelauncherSynchronizeWithParent() {
// Notify the parent process that it can quit now.
StringType name = internal::GetWaitEventName(process.Pid());
base::win::ScopedHandle wait_event(
::CreateEventW(NULL, TRUE, FALSE, name.c_str()));
CreateEvent(NULL, TRUE, FALSE, name.c_str()));
::SetEvent(wait_event.Get());
// Wait for parent process to quit.