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

Unified Diff: ipc/ipc_send_fds_test.cc

Issue 2369553002: Suppress sandbox deprecation warnings by using the Seatbelt wrapper. (Closed)
Patch Set: Created 4 years, 3 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
Index: ipc/ipc_send_fds_test.cc
diff --git a/ipc/ipc_send_fds_test.cc b/ipc/ipc_send_fds_test.cc
index 033ae397e41ecbcef17870b9b5a6593f344b9abe..b2b61570699f9bb9fed2503a7561c419018b8f24 100644
--- a/ipc/ipc_send_fds_test.cc
+++ b/ipc/ipc_send_fds_test.cc
@@ -196,8 +196,8 @@ MULTIPROCESS_IPC_TEST_CLIENT_MAIN(SendFdsSandboxedClient) {
// Enable the sandbox.
char* error_buff = NULL;
- int error = sandbox::Seatbelt::Init(kSBXProfilePureComputation, SANDBOX_NAMED,
- &error_buff);
+ int error = sandbox::Seatbelt::Init(
+ sandbox::Seatbelt::ProfilePureComputation(), SANDBOX_NAMED, &error_buff);
bool success = (error == 0 && error_buff == NULL);
if (!success)
return -1;

Powered by Google App Engine
This is Rietveld 408576698