summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_paths_linux.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/chrome_paths_linux.cc')
-rw-r--r--chrome/common/chrome_paths_linux.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/common/chrome_paths_linux.cc b/chrome/common/chrome_paths_linux.cc
index 7568179..32a9925 100644
--- a/chrome/common/chrome_paths_linux.cc
+++ b/chrome/common/chrome_paths_linux.cc
@@ -5,8 +5,9 @@
#include "chrome/common/chrome_paths_internal.h"
#include "base/env_var.h"
-#include "base/linux_util.h"
+#include "base/file_util.h"
#include "base/scoped_ptr.h"
+#include "base/xdg_util.h"
namespace chrome {
@@ -51,7 +52,7 @@ bool GetUserDownloadsDirectory(FilePath* result) {
scoped_ptr<base::EnvVarGetter> env(base::EnvVarGetter::Create());
*result = base::GetXDGUserDirectory(env.get(), "DOWNLOAD", "Downloads");
- FilePath home = base::GetHomeDir(env.get());
+ FilePath home = file_util::GetHomeDir();
if (*result == home) {
*result = home.Append("Downloads");
return true;