Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(975)

Unified Diff: sandbox/win/src/process_mitigations_win32k_dispatcher.cc

Issue 2849243002: Get rid of all pid references from base::SharedMemoryHandle. (Closed)
Patch Set: fix invalid handle Chrome IPC. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/cpp/system/platform_handle.cc ('k') | sandbox/win/tests/common/controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 347cdf14e730ccb14fc123e1967f147a3f19edd0..426e331a00edee3c04dc5bb33d100ece98e7e14e 100644
--- a/sandbox/win/src/process_mitigations_win32k_dispatcher.cc
+++ b/sandbox/win/src/process_mitigations_win32k_dispatcher.cc
@@ -28,7 +28,7 @@ base::SharedMemoryHandle GetSharedMemoryHandle(const ClientInfo& client_info,
&result_handle, 0, FALSE, DUPLICATE_SAME_ACCESS)) {
result_handle = nullptr;
}
- return base::SharedMemoryHandle(result_handle, ::GetCurrentProcessId());
+ return base::SharedMemoryHandle(result_handle);
}
} // namespace
« no previous file with comments | « mojo/public/cpp/system/platform_handle.cc ('k') | sandbox/win/tests/common/controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698