| Index: chrome/browser/resources/options/manage_profile_overlay.js
|
| diff --git a/chrome/browser/resources/options/manage_profile_overlay.js b/chrome/browser/resources/options/manage_profile_overlay.js
|
| index 5a7379e0a6e3c212151ec88b09ff3fddccd3894d..5a931a9e6007d0df769557b5b8bbd9b0f46dc23d 100644
|
| --- a/chrome/browser/resources/options/manage_profile_overlay.js
|
| +++ b/chrome/browser/resources/options/manage_profile_overlay.js
|
| @@ -102,6 +102,11 @@ cr.define('options', function() {
|
| receiveDefaultProfileIcons_: function(iconURLs) {
|
| $('manage-profile-icon-grid').dataModel = new ArrayDataModel(iconURLs);
|
|
|
| + // Changing the dataModel resets the selectedItem. Re-select it, if there
|
| + // is one.
|
| + if (this.profileInfo_)
|
| + $('manage-profile-icon-grid').selectedItem = this.profileInfo_.iconURL;
|
| +
|
| var grid = $('manage-profile-icon-grid');
|
| // Recalculate the measured item size.
|
| grid.measured_ = null;
|
|
|