summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/automation/testing_automation_provider.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
index 2bcb1f1..8f648d0 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -3900,8 +3900,7 @@ TestingAutomationProvider::GetAutoFillProfilesFromList(
int num_profiles = profiles.GetSize();
for (int i = 0; i < num_profiles; i++) {
profiles.GetDictionary(i, &profile_info);
- // Choose an id of 0 so that a unique id will be created.
- AutoFillProfile profile(string16(), 0);
+ AutoFillProfile profile;
// Loop through the possible profile types and add those provided.
for (std::map<AutoFillFieldType, std::wstring>::iterator type_it =
autofill_type_to_string.begin();
@@ -3934,7 +3933,7 @@ std::vector<CreditCard> TestingAutomationProvider::GetCreditCardsFromList(
int num_credit_cards = cards.GetSize();
for (int i = 0; i < num_credit_cards; i++) {
cards.GetDictionary(i, &card_info);
- CreditCard card(string16(), 0);
+ CreditCard card;
// Loop through the possible credit card fields and add those provided.
for (std::map<AutoFillFieldType, std::wstring>::iterator type_it =
credit_card_type_to_string.begin();