| Index: chrome/browser/download/download_manager.cc
|
| ===================================================================
|
| --- chrome/browser/download/download_manager.cc (revision 10837)
|
| +++ chrome/browser/download/download_manager.cc (working copy)
|
| @@ -302,8 +302,8 @@
|
| &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
|
|
|