Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1878)

Unified Diff: chrome/browser/views/options/content_page_view.cc

Issue 661327: Fix the content page of the options dialog to use kAutoFillEnabled instead of... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/views/options/content_page_view.cc
===================================================================
--- chrome/browser/views/options/content_page_view.cc (revision 40291)
+++ chrome/browser/views/options/content_page_view.cc (working copy)
@@ -207,7 +207,7 @@
// 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 @@
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 {
« chrome/browser/gtk/options/content_page_gtk.cc ('K') | « chrome/browser/options_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698