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

Unified Diff: chrome/browser/autofill/autofill_common_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
« no previous file with comments | « chrome/browser/autofill/address_unittest.cc ('k') | chrome/browser/autofill/autofill_field.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/autofill_common_test.cc
diff --git a/chrome/browser/autofill/autofill_common_test.cc b/chrome/browser/autofill/autofill_common_test.cc
index 1a67781b5ca1a82fcddd35d6b5afb5d64571f937..bb1f535b6586cfcdaf7aa8dc7c115c558e7b70c5 100644
--- a/chrome/browser/autofill/autofill_common_test.cc
+++ b/chrome/browser/autofill/autofill_common_test.cc
@@ -28,7 +28,7 @@ void CreateTestFormField(const char* label,
inline void check_and_set(
FormGroup* profile, AutofillFieldType type, const char* value) {
if (value)
- profile->SetInfo(AutofillType(type), ASCIIToUTF16(value));
+ profile->SetInfo(type, ASCIIToUTF16(value));
}
void SetProfileInfo(AutofillProfile* profile,
« no previous file with comments | « chrome/browser/autofill/address_unittest.cc ('k') | chrome/browser/autofill/autofill_field.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698