Index: content/common/sandbox_win.cc |
diff --git a/content/common/sandbox_win.cc b/content/common/sandbox_win.cc |
index 3cc6ab9e9252ae96b5e68fd9f53a49a39aa9e1c3..e86d4335944bb967ae2f524d70a91d1417aa46da 100644 |
--- a/content/common/sandbox_win.cc |
+++ b/content/common/sandbox_win.cc |
@@ -110,10 +110,8 @@ bool AddDirectory(int path, const wchar_t* sub_dir, bool children, |
if (!PathService::Get(path, &directory)) |
return false; |
- if (sub_dir) { |
- directory = directory.Append(sub_dir); |
- file_util::AbsolutePath(&directory); |
- } |
+ if (sub_dir) |
+ directory = base::MakeAbsoluteFilePath(directory.Append(sub_dir)); |
sandbox::ResultCode result; |
result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_FILES, access, |