diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-29 22:07:14 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-29 22:07:14 +0000 |
commit | c30d102beb2d4c80e13dfa71975631aabed219cd (patch) | |
tree | 80470a79c7ba6f62458792457cee151cee4acd78 | |
parent | a92a251254c1ff1d5dd72b4d425a528fe28af28b (diff) | |
download | chromium_src-c30d102beb2d4c80e13dfa71975631aabed219cd.zip chromium_src-c30d102beb2d4c80e13dfa71975631aabed219cd.tar.gz chromium_src-c30d102beb2d4c80e13dfa71975631aabed219cd.tar.bz2 |
AutoFill: Adjust the profile labels when updating a specific profile.
BUG=61013
TEST=none
Review URL: http://codereview.chromium.org/4089013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64499 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/autofill/personal_data_manager.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/autofill/personal_data_manager.cc b/chrome/browser/autofill/personal_data_manager.cc index 80f3a8d..1ca1cf1 100644 --- a/chrome/browser/autofill/personal_data_manager.cc +++ b/chrome/browser/autofill/personal_data_manager.cc @@ -470,6 +470,9 @@ void PersonalDataManager::UpdateProfile(const AutoFillProfile& profile) { } } + // Ensure that profile labels are up to date. + AutoFillProfile::AdjustInferredLabels(&web_profiles_.get()); + wds->UpdateAutoFillProfile(profile); FOR_EACH_OBSERVER(Observer, observers_, OnPersonalDataChanged()); } |