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

Unified Diff: chrome/browser/sync/glue/autofill_profile_model_associator_unittest.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
Index: chrome/browser/sync/glue/autofill_profile_model_associator_unittest.cc
diff --git a/chrome/browser/sync/glue/autofill_profile_model_associator_unittest.cc b/chrome/browser/sync/glue/autofill_profile_model_associator_unittest.cc
index a1780d436ff4188553abf034246a32e04e0b617a..81b213e4f6580ea7ab727ca79633adff5658d5c6 100644
--- a/chrome/browser/sync/glue/autofill_profile_model_associator_unittest.cc
+++ b/chrome/browser/sync/glue/autofill_profile_model_associator_unittest.cc
@@ -254,8 +254,7 @@ TEST_F(AutofillProfileModelAssociatorTest, TestNeedToAddNativeProfile) {
read_node);
EXPECT_EQ(bundle.new_profiles.size(), (unsigned int)1);
- EXPECT_EQ(
- bundle.new_profiles.front()->GetFieldText(AutofillType(NAME_FIRST)),
- UTF8ToUTF16(first_name));
+ EXPECT_EQ(bundle.new_profiles.front()->GetFieldText(NAME_FIRST),
+ UTF8ToUTF16(first_name));
}

Powered by Google App Engine
This is Rietveld 408576698