mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-14 09:17:57 +08:00
9476a76dc0
Similar to crrev.com/c/3516536, this CL fixes the Windows build when the UNICODE preprocessor macro is not defined where code passes Unicode string literals with L"..." to non-Unicode APIs like RegOpenKeyEx(). This fixes the build by explicitly using RegOpenKeyExW() instead. Change-Id: I14a827357b9cbd42452e0e5eb13a3430569559a5 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3516538 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Mark Mentovai <mark@chromium.org>