Bug 1684110 - Stop using some 'A'-functions in xpcom/. r=sg

Depends on D100469

Differential Revision: https://phabricator.services.mozilla.com/D100470
This commit is contained in:
Masatoshi Kimura 2021-01-04 11:03:31 +00:00
parent 74dde45aea
commit 961ec10985

View File

@ -458,7 +458,7 @@ nsWindowsRegKey::StartWatching(bool aRecurse) {
return NS_OK;
}
mWatchEvent = CreateEvent(nullptr, TRUE, FALSE, nullptr);
mWatchEvent = CreateEventW(nullptr, TRUE, FALSE, nullptr);
if (!mWatchEvent) {
return NS_ERROR_OUT_OF_MEMORY;
}