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 868bc9aaa058030573f301c85f6ccea1df0a290f..139b1b636bbe2a1d74a947d489f6e7dc2a9699d8 100644 |
--- a/content/common/sandbox_mac_diraccess_unittest.mm |
+++ b/content/common/sandbox_mac_diraccess_unittest.mm |
@@ -150,7 +150,7 @@ TEST_F(MacDirAccessSandboxTest, SandboxAccess) { |
// This step is important on OS X since the sandbox only understands "real" |
// paths and the paths CreateNewTempDirectory() returns are empirically in |
// /var which is a symlink to /private/var . |
- Sandbox::GetCanonicalSandboxPath(&tmp_dir); |
+ tmp_dir = Sandbox::GetCanonicalSandboxPath(tmp_dir); |
ScopedDirectory cleanup(&tmp_dir); |
const char* sandbox_dir_cases[] = { |