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

Unified Diff: components/autofill/core/browser/autofill_profile.cc

Issue 1931123002: [Autofill] Make PersonalDataManager::OverwriteWith case sensitive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: components/autofill/core/browser/autofill_profile.cc
diff --git a/components/autofill/core/browser/autofill_profile.cc b/components/autofill/core/browser/autofill_profile.cc
index 1234c0c7257b331d3c06c7e4f5abfeb183600280..b65c10bad9c108d71582c05d58e251401576546b 100644
--- a/components/autofill/core/browser/autofill_profile.cc
+++ b/components/autofill/core/browser/autofill_profile.cc
@@ -565,7 +565,7 @@ bool AutofillProfile::OverwriteWith(const AutofillProfile& profile,
}
base::string16 new_value = profile.GetRawInfo(*iter);
Mathieu 2016/04/29 12:18:43 Add a comment: // Overwrite the data in |this| pro
sebsg 2016/04/29 15:04:48 Done.
- if (!compare.StringsEqual(GetRawInfo(*iter), new_value)) {
+ if (GetRawInfo(*iter) != new_value) {
SetRawInfo(*iter, new_value);
did_overwrite = true;
}

Powered by Google App Engine
This is Rietveld 408576698