diff options
Diffstat (limited to 'chrome/browser/download/save_package.cc')
-rw-r--r-- | chrome/browser/download/save_package.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/download/save_package.cc b/chrome/browser/download/save_package.cc index 6af6c05..9f01bd8 100644 --- a/chrome/browser/download/save_package.cc +++ b/chrome/browser/download/save_package.cc @@ -966,8 +966,8 @@ FilePath SavePackage::GetSuggestNameForSaveAs(PrefService* prefs, if (!PathService::Get(chrome::DIR_DEFAULT_DOWNLOADS, &default_save_path)) NOTREACHED(); - prefs->RegisterStringPref(prefs::kSaveFileDefaultDirectory, - default_save_path.ToWStringHack()); + prefs->RegisterFilePathPref(prefs::kSaveFileDefaultDirectory, + default_save_path); } // Get the directory from preference. |