diff options
Diffstat (limited to 'chrome/browser/download/download_manager.cc')
-rw-r--r-- | chrome/browser/download/download_manager.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/download/download_manager.cc b/chrome/browser/download/download_manager.cc index f46cac5..50f2910 100644 --- a/chrome/browser/download/download_manager.cc +++ b/chrome/browser/download/download_manager.cc @@ -302,8 +302,8 @@ void DownloadManager::RegisterUserPrefs(PrefService* prefs) { &default_download_path)) { NOTREACHED(); } - prefs->RegisterStringPref(prefs::kDownloadDefaultDirectory, - default_download_path.ToWStringHack()); + prefs->RegisterFilePathPref(prefs::kDownloadDefaultDirectory, + default_download_path); // If the download path is dangerous we forcefully reset it. But if we do // so we set a flag to make sure we only do it once, to avoid fighting |