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 ea3cbfc16fa48e44708ebf644b76d95c13088b6e..77e8bbd2ba2547d96e7af64c4b4c7c3df245b6bb 100644 |
--- a/chrome/test/live_sync/autofill_helper.cc |
+++ b/chrome/test/live_sync/autofill_helper.cc |
@@ -136,12 +136,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); |