Index: content/common/sandbox_util.cc |
diff --git a/content/common/sandbox_util.cc b/content/common/sandbox_util.cc |
index eea8486ca1d52506265812eda4eb5ddec4841cc4..1d954536a0096726c58ee2384bc1a7e1e0a4be22 100644 |
--- a/content/common/sandbox_util.cc |
+++ b/content/common/sandbox_util.cc |
@@ -7,6 +7,10 @@ |
#include "build/build_config.h" |
#include "content/public/common/sandbox_init.h" |
+#if defined(OS_WIN) |
+#include "content/common/sandbox_win.h" |
+#endif |
+ |
#if defined(OS_POSIX) |
#include <unistd.h> |
#endif |
@@ -23,8 +27,7 @@ IPC::PlatformFileForTransit BrokerGetFileHandleForProcess( |
if (should_close_source) |
options |= DUPLICATE_CLOSE_SOURCE; |
HANDLE raw_handle = INVALID_HANDLE_VALUE; |
- if (content::BrokerDuplicateHandle(handle, target_process_id, &raw_handle, 0, |
- options)) { |
+ if (BrokerDuplicateHandle(handle, target_process_id, &raw_handle, 0, options)) { |
out_handle = IPC::PlatformFileForTransit(raw_handle, target_process_id); |
} else { |
out_handle = IPC::InvalidPlatformFileForTransit(); |