| Index: chrome/browser/autofill/autofill_manager.cc
|
| ===================================================================
|
| --- chrome/browser/autofill/autofill_manager.cc (revision 40742)
|
| +++ chrome/browser/autofill/autofill_manager.cc (working copy)
|
| @@ -42,6 +42,7 @@
|
| void AutoFillManager::RegisterUserPrefs(PrefService* prefs) {
|
| prefs->RegisterBooleanPref(prefs::kAutoFillInfoBarShown, false);
|
| prefs->RegisterBooleanPref(prefs::kAutoFillEnabled, true);
|
| + prefs->RegisterBooleanPref(prefs::kAutoFillAuxiliaryProfilesEnabled, false);
|
| }
|
|
|
| void AutoFillManager::FormFieldValuesSubmitted(
|
| @@ -230,7 +231,10 @@
|
| personal_data_->RemoveObserver(this);
|
|
|
| ShowAutoFillDialog(
|
| - this, personal_data_->profiles(), personal_data_->credit_cards());
|
| + this,
|
| + personal_data_->profiles(),
|
| + personal_data_->credit_cards(),
|
| + tab_contents_->profile()->GetOriginalProfile());
|
| }
|
|
|
| void AutoFillManager::OnInfoBarAccepted() {
|
|
|