mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
3022548: Removing windows.h includes from some base headers
https://chromium-review.googlesource.com/c/chromium/src/+/3022548
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user