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

Unified Diff: chrome/test/live_sync/live_autofill_sync_test.cc

Issue 6673079: Reduce boxing and unboxing of AutofillFieldType (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 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/test/live_sync/live_autofill_sync_test.cc
diff --git a/chrome/test/live_sync/live_autofill_sync_test.cc b/chrome/test/live_sync/live_autofill_sync_test.cc
index e662114ce7d24b5a94852cb33ef95ee8fb54b816..f55b948e53b8cde5c4b223d602326ce4d373be5d 100644
--- a/chrome/test/live_sync/live_autofill_sync_test.cc
+++ b/chrome/test/live_sync/live_autofill_sync_test.cc
@@ -223,7 +223,7 @@ void LiveAutofillSyncTest::UpdateProfile(int profile,
for (size_t i = 0; i < all_profiles.size(); ++i) {
profiles.push_back(*all_profiles[i]);
if (all_profiles[i]->guid() == guid)
- profiles.back().SetInfo(type, value);
+ profiles.back().SetInfo(type.field_type(), value);
}
SetProfiles(profile, &profiles);
}
« no previous file with comments | « chrome/browser/webdata/web_database_unittest.cc ('k') | chrome/test/live_sync/two_client_live_autofill_sync_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698