diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-02 01:51:05 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-02 01:51:05 +0000 |
commit | e0d69df606e86f436ac7708de6e221647b9d47fc (patch) | |
tree | 2e29c9becf5492ee7ceb27a41f5da2a48ac11548 /chrome/browser/views/options/content_page_view.cc | |
parent | 323f13f1d60afc174ce51e3e933dec17774b5c8a (diff) | |
download | chromium_src-e0d69df606e86f436ac7708de6e221647b9d47fc.zip chromium_src-e0d69df606e86f436ac7708de6e221647b9d47fc.tar.gz chromium_src-e0d69df606e86f436ac7708de6e221647b9d47fc.tar.bz2 |
Fix the content page of the options dialog to use kAutoFillEnabled instead of the obsolete kFormAutofillEnabled.
BUG=36640
TEST=none
Review URL: http://codereview.chromium.org/661327
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40345 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/options/content_page_view.cc')
-rw-r--r-- | chrome/browser/views/options/content_page_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/options/content_page_view.cc b/chrome/browser/views/options/content_page_view.cc index 89f6fb2..14bce89 100644 --- a/chrome/browser/views/options/content_page_view.cc +++ b/chrome/browser/views/options/content_page_view.cc @@ -207,7 +207,7 @@ void ContentPageView::InitControlLayout() { // Init member prefs so we can update the controls if prefs change. ask_to_save_passwords_.Init(prefs::kPasswordManagerEnabled, profile()->GetPrefs(), this); - ask_to_save_form_autofill_.Init(prefs::kFormAutofillEnabled, + ask_to_save_form_autofill_.Init(prefs::kAutoFillEnabled, profile()->GetPrefs(), this); is_using_default_theme_.Init(prefs::kCurrentThemeID, profile()->GetPrefs(), this); @@ -221,7 +221,7 @@ void ContentPageView::NotifyPrefChanged(const std::wstring* pref_name) { passwords_neversave_radio_->SetChecked(true); } } - if (!pref_name || *pref_name == prefs::kFormAutofillEnabled) { + if (!pref_name || *pref_name == prefs::kAutoFillEnabled) { if (ask_to_save_form_autofill_.GetValue()) { form_autofill_enable_radio_->SetChecked(true); } else { |