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

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

Issue 7576001: Refactor webkit_glue::FormField to remove hacky methods (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix copyright header Created 9 years, 4 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
« no previous file with comments | « chrome/renderer/autofill/password_autofill_manager_unittest.cc ('k') | webkit/glue/form_field.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « chrome/renderer/autofill/password_autofill_manager_unittest.cc ('k') | webkit/glue/form_field.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698