| Index: chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| index a6e86b0eb50205c046e923bc317f1332f698bbdb..131b8257365c9c9ef81ba2194e0d8385a6157c9b 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| @@ -390,6 +390,8 @@ gfx::Image AutofillDialogControllerImpl::SuggestionIconForSection(
|
|
|
| std::string item_key =
|
| suggested_cc_.GetItemKeyAt(suggested_cc_.checked_item());
|
| + if (item_key.empty())
|
| + return gfx::Image();
|
| ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance();
|
| CreditCard* card = GetManager()->GetCreditCardByGUID(item_key);
|
| return rb.GetImageNamed(card->IconResourceId());
|
|
|