Index: sandbox/win/src/process_mitigations_win32k_dispatcher.cc |
diff --git a/sandbox/win/src/process_mitigations_win32k_dispatcher.cc b/sandbox/win/src/process_mitigations_win32k_dispatcher.cc |
index 426e331a00edee3c04dc5bb33d100ece98e7e14e..f27711de6f32f844aa964bde80a893de312dfd5c 100644 |
--- a/sandbox/win/src/process_mitigations_win32k_dispatcher.cc |
+++ b/sandbox/win/src/process_mitigations_win32k_dispatcher.cc |
@@ -8,6 +8,7 @@ |
#include "base/memory/shared_memory.h" |
#include "base/strings/string16.h" |
+#include "base/unguessable_token.h" |
#include "base/win/windows_version.h" |
#include "sandbox/win/src/interception.h" |
#include "sandbox/win/src/interceptors.h" |
@@ -28,7 +29,8 @@ base::SharedMemoryHandle GetSharedMemoryHandle(const ClientInfo& client_info, |
&result_handle, 0, FALSE, DUPLICATE_SAME_ACCESS)) { |
result_handle = nullptr; |
} |
- return base::SharedMemoryHandle(result_handle); |
+ return base::SharedMemoryHandle(result_handle, |
+ base::UnguessableToken::Create()); |
} |
} // namespace |