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 12745d0a3fe64850a44ce397e822aaa10b6004ee..43d1331dd9379336dde52581fde9621635d6f897 100644 |
--- a/mojo/edk/embedder/platform_handle_utils_win.cc |
+++ b/mojo/edk/embedder/platform_handle_utils_win.cc |
@@ -15,12 +15,8 @@ ScopedPlatformHandle DuplicatePlatformHandle(PlatformHandle platform_handle) { |
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); |