Index: chrome/test/live_sync/autofill_helper.cc |
diff --git a/chrome/test/live_sync/autofill_helper.cc b/chrome/test/live_sync/autofill_helper.cc |
index 94aa95d42b18424d604a0770513dc9780a9f0baf..f877d6f051ef287c2ef53354b36124a51ab8be7e 100644 |
--- a/chrome/test/live_sync/autofill_helper.cc |
+++ b/chrome/test/live_sync/autofill_helper.cc |
@@ -134,12 +134,10 @@ void AddKeys(int profile, |
for (std::set<AutofillKey>::const_iterator i = keys.begin(); |
i != keys.end(); |
++i) { |
- form_fields.push_back(webkit_glue::FormField(string16(), |
- (*i).name(), |
- (*i).value(), |
- string16(), |
- 0, |
- false)); |
+ webkit_glue::FormField field; |
+ field.name = i->name(); |
+ field.value = i->value(); |
+ form_fields.push_back(field); |
} |
WaitableEvent done_event(false, false); |