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

Unified Diff: content/common/sandbox_mac_diraccess_unittest.mm

Issue 10387218: Make GlobalDescriptors::MaybeGet return -1 when the key is not found. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Modifying the MULTIPROCESS_TEST_MAIN macro so it can be passed a setup method. Created 8 years, 6 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: content/common/sandbox_mac_diraccess_unittest.mm
diff --git a/content/common/sandbox_mac_diraccess_unittest.mm b/content/common/sandbox_mac_diraccess_unittest.mm
index 139b1b636bbe2a1d74a947d489f6e7dc2a9699d8..0aa1cf83532f5b219e02e61758e0ea47834d437a 100644
--- a/content/common/sandbox_mac_diraccess_unittest.mm
+++ b/content/common/sandbox_mac_diraccess_unittest.mm
@@ -178,7 +178,7 @@ TEST_F(MacDirAccessSandboxTest, SandboxAccess) {
}
}
-MULTIPROCESS_TEST_MAIN(mac_sandbox_path_access) {
+MULTIPROCESS_TEST_MAIN(mac_sandbox_path_access, NULL) {
char *sandbox_allowed_dir = getenv(kSandboxAccessPathKey);
if (!sandbox_allowed_dir)
return -1;

Powered by Google App Engine
This is Rietveld 408576698