mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Windows: Fix time_win.cc compile error with cef_sandbox
This commit is contained in:
13
patch/patches/base_time_3718022.patch
Normal file
13
patch/patches/base_time_3718022.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git base/allocator/partition_allocator/partition_alloc_base/time/time_win.cc base/allocator/partition_allocator/partition_alloc_base/time/time_win.cc
|
||||
index e36aeb64abdb7..7deae93b86f03 100644
|
||||
--- base/allocator/partition_allocator/partition_alloc_base/time/time_win.cc
|
||||
+++ base/allocator/partition_allocator/partition_alloc_base/time/time_win.cc
|
||||
@@ -327,7 +327,7 @@ DWORD (*g_tick_function)(void) = &timeGetTimeWrapper;
|
||||
// "rollover" counter.
|
||||
union LastTimeAndRolloversState {
|
||||
// The state as a single 32-bit opaque value.
|
||||
- std::atomic<int32_t> as_opaque_32;
|
||||
+ std::atomic<int32_t> as_opaque_32{0};
|
||||
|
||||
// The state as usable values.
|
||||
struct {
|
Reference in New Issue
Block a user