Index: ipc/ipc_send_fds_test.cc |
diff --git a/ipc/ipc_send_fds_test.cc b/ipc/ipc_send_fds_test.cc |
index 81f589412d66f8f06d504d78e5dc801c5e329510..264aa855f91080fdd2d09352b15e3af6df70e16f 100644 |
--- a/ipc/ipc_send_fds_test.cc |
+++ b/ipc/ipc_send_fds_test.cc |
@@ -193,6 +193,8 @@ MULTIPROCESS_IPC_TEST_CLIENT_MAIN(SendFdsSandboxedClient) { |
// Enable the sandbox. |
char* error_buff = NULL; |
+#pragma clang diagnostic push |
+#pragma clang diagnostic ignored "-Wdeprecated-declarations" |
Nico
2016/03/31 19:50:15
Here too
|
int error = sandbox_init(kSBXProfilePureComputation, SANDBOX_NAMED, |
&error_buff); |
bool success = (error == 0 && error_buff == NULL); |
@@ -200,6 +202,7 @@ MULTIPROCESS_IPC_TEST_CLIENT_MAIN(SendFdsSandboxedClient) { |
return -1; |
sandbox_free_error(error_buff); |
+#pragma clang diagnostic pop |
// Make sure sandbox is really enabled. |
if (open(kDevZeroPath, O_RDONLY) != -1) { |