refactor: replace remaining NULL
with nullptr
(#40053)
refactor: use nullptr everywhere
This commit is contained in:
parent
9d0e6d09f0
commit
04b2ba84cd
34 changed files with 98 additions and 93 deletions
|
@ -117,8 +117,8 @@ bool RelaunchAppWithHelper(const base::FilePath& helper,
|
|||
#if BUILDFLAG(IS_WIN)
|
||||
// Synchronize with the relauncher process.
|
||||
StringType name = internal::GetWaitEventName(process.Pid());
|
||||
HANDLE wait_event = ::CreateEventW(NULL, TRUE, FALSE, name.c_str());
|
||||
if (wait_event != NULL) {
|
||||
HANDLE wait_event = ::CreateEventW(nullptr, TRUE, FALSE, name.c_str());
|
||||
if (wait_event != nullptr) {
|
||||
WaitForSingleObject(wait_event, 1000);
|
||||
CloseHandle(wait_event);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue