Index: chrome/browser/ui/webui/options/browser_options_handler.cc |
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc |
index 7c8880f40c048fcf0510d04f6e05ede561c2372f..1d6de59aa44776c6282c24f4a5a82b5283a91789 100644 |
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc |
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc |
@@ -1225,6 +1225,7 @@ void BrowserOptionsHandler::FileSelected(const base::FilePath& path, int index, |
content::RecordAction(UserMetricsAction("Options_SetDownloadDirectory")); |
PrefService* pref_service = Profile::FromWebUI(web_ui())->GetPrefs(); |
pref_service->SetFilePath(prefs::kDownloadDefaultDirectory, path); |
+ pref_service->SetFilePath(prefs::kSaveFileDefaultDirectory, path); |
} |
void BrowserOptionsHandler::OnCloudPrintSetupClosed() { |