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

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: Compile on Windows. 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/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,

Powered by Google App Engine
This is Rietveld 408576698