| Index: chrome/browser/ui/webui/options/autofill_options_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/autofill_options_handler.cc b/chrome/browser/ui/webui/options/autofill_options_handler.cc
|
| index 2307af0729f201bcd1648e3b3475208dd7009ccd..943daf6694457ee0b34b8c33e344e5d9ab02449d 100644
|
| --- a/chrome/browser/ui/webui/options/autofill_options_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/autofill_options_handler.cc
|
| @@ -100,7 +100,7 @@ void GetValueList(const AutofillProfile& profile,
|
| profile.GetMultiInfo(type, &values);
|
| list->reset(new ListValue);
|
| for (size_t i = 0; i < values.size(); ++i) {
|
| - (*list)->Set(i, Value::CreateStringValue(values[i]));
|
| + (*list)->Set(i, base::StringValue::New(values[i]));
|
| }
|
| }
|
|
|
| @@ -322,8 +322,8 @@ void AutofillOptionsHandler::LoadAutofillData() {
|
| personal_data_->web_profiles().begin();
|
| i != personal_data_->web_profiles().end(); ++i) {
|
| ListValue* entry = new ListValue();
|
| - entry->Append(new StringValue((*i)->guid()));
|
| - entry->Append(new StringValue((*i)->Label()));
|
| + entry->Append(base::StringValue::New((*i)->guid()));
|
| + entry->Append(base::StringValue::New((*i)->Label()));
|
| addresses.Append(entry);
|
| }
|
|
|
| @@ -334,12 +334,13 @@ void AutofillOptionsHandler::LoadAutofillData() {
|
| personal_data_->credit_cards().begin();
|
| i != personal_data_->credit_cards().end(); ++i) {
|
| ListValue* entry = new ListValue();
|
| - entry->Append(new StringValue((*i)->guid()));
|
| - entry->Append(new StringValue((*i)->Label()));
|
| + entry->Append(base::StringValue::New((*i)->guid()));
|
| + entry->Append(base::StringValue::New((*i)->Label()));
|
| int res = CreditCardTypeToResourceID((*i)->type());
|
| entry->Append(
|
| - new StringValue(web_ui_util::GetImageDataUrlFromResource(res)));
|
| - entry->Append(new StringValue(LocalizedCreditCardType((*i)->type())));
|
| + base::StringValue::New(web_ui_util::GetImageDataUrlFromResource(res)));
|
| + entry->Append(
|
| + base::StringValue::New(LocalizedCreditCardType((*i)->type())));
|
| credit_cards.Append(entry);
|
| }
|
|
|
|
|