summaryrefslogtreecommitdiffstats
path: root/chrome/common/sandbox_mac_diraccess_unittest.mm
diff options
context:
space:
mode:
authorjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-14 16:11:42 +0000
committerjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-14 16:11:42 +0000
commit5db3b7e4a904820eb5e8bea6aa001421c8098505 (patch)
treef44a5c3d19f27a50b6f08828314569396a7f1489 /chrome/common/sandbox_mac_diraccess_unittest.mm
parentbb8a8ec083edead920f0db810b224bf43ff39717 (diff)
downloadchromium_src-5db3b7e4a904820eb5e8bea6aa001421c8098505.zip
chromium_src-5db3b7e4a904820eb5e8bea6aa001421c8098505.tar.gz
chromium_src-5db3b7e4a904820eb5e8bea6aa001421c8098505.tar.bz2
Mac: Use canonicalization rather than absolute paths for sandbox.
BUG=None TEST=Installing themes should continue to work. Review URL: http://codereview.chromium.org/2834044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52326 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/sandbox_mac_diraccess_unittest.mm')
-rw-r--r--chrome/common/sandbox_mac_diraccess_unittest.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/sandbox_mac_diraccess_unittest.mm b/chrome/common/sandbox_mac_diraccess_unittest.mm
index 71eff73..f356453 100644
--- a/chrome/common/sandbox_mac_diraccess_unittest.mm
+++ b/chrome/common/sandbox_mac_diraccess_unittest.mm
@@ -147,7 +147,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 .
- ASSERT_TRUE(file_util::AbsolutePath(&tmp_dir));
+ sandbox::GetCanonicalSandboxPath(&tmp_dir);
ScopedDirectory cleanup(&tmp_dir);
const char* sandbox_dir_cases[] = {