| Index: chrome/browser/resources/options2/browser_options_profile_list.js
|
| diff --git a/chrome/browser/resources/options2/browser_options_profile_list.js b/chrome/browser/resources/options2/browser_options_profile_list.js
|
| index 9c47492c781cf8f7f9dd837f4d8a5ef18d5305db..822a37966761f43e197cd6086b3fbcc4231a792b 100644
|
| --- a/chrome/browser/resources/options2/browser_options_profile_list.js
|
| +++ b/chrome/browser/resources/options2/browser_options_profile_list.js
|
| @@ -7,8 +7,6 @@ cr.define('options.browser_options', function() {
|
| /** @const */ var DeletableItemList = options.DeletableItemList;
|
| /** @const */ var ListSingleSelectionModel = cr.ui.ListSingleSelectionModel;
|
|
|
| - var localStrings = new LocalStrings();
|
| -
|
| /**
|
| * Creates a new profile list item.
|
| * @param {Object} profileInfo The profile this item respresents.
|
| @@ -58,10 +56,10 @@ cr.define('options.browser_options', function() {
|
| this.contentElement.appendChild(nameEl);
|
|
|
| var displayName = profileInfo.name;
|
| - if (profileInfo.isCurrentProfile)
|
| - displayName = localStrings.getStringF(
|
| - 'profilesListItemCurrent',
|
| - profileInfo.name);
|
| + if (profileInfo.isCurrentProfile) {
|
| + displayName = loadTimeData.getStringF('profilesListItemCurrent',
|
| + profileInfo.name);
|
| + }
|
| nameEl.textContent = displayName;
|
|
|
| // Ensure that the button cannot be tabbed to for accessibility reasons.
|
|
|