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

Unified Diff: components/autofill/core/browser/webdata/autocomplete_syncable_service.cc

Issue 2646783002: Fixed synchronization autocomplete unrecoverable error. (Closed)
Patch Set: Added const for local variables. Created 3 years, 11 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/webdata/autocomplete_syncable_service.cc
diff --git a/components/autofill/core/browser/webdata/autocomplete_syncable_service.cc b/components/autofill/core/browser/webdata/autocomplete_syncable_service.cc
index aff312184ea179c5c829889602679feae971c9e1..d303d165ae571fbcade1e239007b7616576f4e6a 100644
--- a/components/autofill/core/browser/webdata/autocomplete_syncable_service.cc
+++ b/components/autofill/core/browser/webdata/autocomplete_syncable_service.cc
@@ -309,8 +309,7 @@ void AutocompleteSyncableService::CreateOrUpdateEntry(
return;
}
- AutofillKey key(autofill_specifics.name().c_str(),
- autofill_specifics.value().c_str());
+ AutofillKey key(autofill_specifics.name(), autofill_specifics.value());
AutocompleteEntryMap::iterator it = loaded_data->find(key);
const google::protobuf::RepeatedField<int64_t>& timestamps =
autofill_specifics.usage_timestamp();
« no previous file with comments | « chrome/browser/importer/in_process_importer_bridge.cc ('k') | components/autofill/core/browser/webdata/autofill_entry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698