Index: chrome/browser/download/chrome_download_manager_delegate.cc |
diff --git a/chrome/browser/download/chrome_download_manager_delegate.cc b/chrome/browser/download/chrome_download_manager_delegate.cc |
index dec52fc3853fec32e1b7fbfd15e1308c8bfdaf1a..488793ba6aefc5db30db210f328cc7e8a5f77a3b 100644 |
--- a/chrome/browser/download/chrome_download_manager_delegate.cc |
+++ b/chrome/browser/download/chrome_download_manager_delegate.cc |
@@ -483,7 +483,7 @@ void ChromeDownloadManagerDelegate::GetSaveDir(BrowserContext* browser_context, |
FilePath* download_save_dir, |
bool* skip_dir_check) { |
Profile* profile = Profile::FromBrowserContext(browser_context); |
- PrefService* prefs = profile->GetPrefs(); |
+ PrefServiceSyncable* prefs = profile->GetPrefs(); |
// Check whether the preference has the preferred directory for saving file. |
// If not, initialize it with default directory. |
@@ -493,7 +493,7 @@ void ChromeDownloadManagerDelegate::GetSaveDir(BrowserContext* browser_context, |
prefs::kDownloadDefaultDirectory); |
prefs->RegisterFilePathPref(prefs::kSaveFileDefaultDirectory, |
default_save_path, |
- PrefService::UNSYNCABLE_PREF); |
+ PrefServiceSyncable::UNSYNCABLE_PREF); |
} |
// Get the directory from preference. |