Index: mojo/edk/embedder/platform_handle_utils_win.cc |
diff --git a/mojo/edk/embedder/platform_handle_utils_win.cc b/mojo/edk/embedder/platform_handle_utils_win.cc |
index 43d1331dd9379336dde52581fde9621635d6f897..12745d0a3fe64850a44ce397e822aaa10b6004ee 100644 |
--- a/mojo/edk/embedder/platform_handle_utils_win.cc |
+++ b/mojo/edk/embedder/platform_handle_utils_win.cc |
@@ -15,8 +15,12 @@ |
DCHECK(platform_handle.is_valid()); |
HANDLE new_handle; |
- if (!DuplicateHandle(GetCurrentProcess(), platform_handle.handle, |
- GetCurrentProcess(), &new_handle, 0, TRUE, |
+ if (!DuplicateHandle(GetCurrentProcess(), |
+ platform_handle.handle, |
+ GetCurrentProcess(), |
+ &new_handle, |
+ 0, |
+ TRUE, |
DUPLICATE_SAME_ACCESS)) |
return ScopedPlatformHandle(); |
DCHECK_NE(new_handle, INVALID_HANDLE_VALUE); |