Index: chrome/browser/autofill/autofill_download.cc |
diff --git a/chrome/browser/autofill/autofill_download.cc b/chrome/browser/autofill/autofill_download.cc |
index 0c35a74b330b4ff65da3d04f75636a43c656744b..f2011ef9a2bc014a4d4febc647c3df18df02cd94 100644 |
--- a/chrome/browser/autofill/autofill_download.cc |
+++ b/chrome/browser/autofill/autofill_download.cc |
@@ -54,9 +54,9 @@ AutoFillDownloadManager::AutoFillDownloadManager(Profile* profile) |
if (profile_) { |
PrefService* preferences = profile_->GetPrefs(); |
positive_upload_rate_ = |
- preferences->GetReal(prefs::kAutoFillPositiveUploadRate); |
+ preferences->GetDouble(prefs::kAutoFillPositiveUploadRate); |
negative_upload_rate_ = |
- preferences->GetReal(prefs::kAutoFillNegativeUploadRate); |
+ preferences->GetDouble(prefs::kAutoFillNegativeUploadRate); |
} |
} |
@@ -165,7 +165,7 @@ void AutoFillDownloadManager::SetPositiveUploadRate(double rate) { |
DCHECK_LE(rate, 1.0); |
DCHECK(profile_); |
PrefService* preferences = profile_->GetPrefs(); |
- preferences->SetReal(prefs::kAutoFillPositiveUploadRate, rate); |
+ preferences->SetDouble(prefs::kAutoFillPositiveUploadRate, rate); |
} |
void AutoFillDownloadManager::SetNegativeUploadRate(double rate) { |
@@ -176,7 +176,7 @@ void AutoFillDownloadManager::SetNegativeUploadRate(double rate) { |
DCHECK_LE(rate, 1.0); |
DCHECK(profile_); |
PrefService* preferences = profile_->GetPrefs(); |
- preferences->SetReal(prefs::kAutoFillNegativeUploadRate, rate); |
+ preferences->SetDouble(prefs::kAutoFillNegativeUploadRate, rate); |
} |
bool AutoFillDownloadManager::StartRequest( |