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

Unified Diff: chrome/browser/webdata/autofill_profile_syncable_service.cc

Issue 13488009: Remove application locale cache in autofill code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 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/webdata/autofill_profile_syncable_service.cc
===================================================================
--- chrome/browser/webdata/autofill_profile_syncable_service.cc (revision 192175)
+++ chrome/browser/webdata/autofill_profile_syncable_service.cc (working copy)
@@ -8,6 +8,7 @@
#include "base/location.h"
#include "base/logging.h"
#include "base/utf_string_conversions.h"
+#include "chrome/browser/browser_process.h"
#include "components/autofill/browser/autofill_profile.h"
#include "components/autofill/browser/form_group.h"
#include "components/webdata/autofill/autofill_table.h"
@@ -552,7 +553,8 @@
bool AutofillProfileSyncableService::MergeProfile(
const AutofillProfile& merge_from,
AutofillProfile* merge_into) {
- merge_into->OverwriteWithOrAddTo(merge_from);
+ merge_into->OverwriteWithOrAddTo(
+ merge_from, g_browser_process->GetApplicationLocale());
Ilya Sherman 2013/04/04 04:27:38 I'm pretty sure that AutofillProfileSyncableServic
jam 2013/04/04 17:58:12 thanks, fixed.
return (merge_into->Compare(merge_from) != 0);
}

Powered by Google App Engine
This is Rietveld 408576698