| Index: chrome/browser/resources/options/inline_editable_list.js
|
| diff --git a/chrome/browser/resources/options/inline_editable_list.js b/chrome/browser/resources/options/inline_editable_list.js
|
| index cc6c9f7c3e1d9052a6a98c48d24b6f3fd7fe92dc..89d10e7309592acb2871034315782d7fcaef7e6f 100644
|
| --- a/chrome/browser/resources/options/inline_editable_list.js
|
| +++ b/chrome/browser/resources/options/inline_editable_list.js
|
| @@ -236,8 +236,9 @@ cr.define('options', function() {
|
| * @private
|
| */
|
| createEditableTextCell: function(text) {
|
| - var container = this.ownerDocument.createElement('div');
|
| - var textEl;
|
| + var container = /** @type {HTMLElement} */(
|
| + this.ownerDocument.createElement('div'));
|
| + var textEl = null;
|
| if (!this.isPlaceholder) {
|
| textEl = this.ownerDocument.createElement('div');
|
| textEl.className = 'static-text';
|
| @@ -406,6 +407,10 @@ cr.define('options', function() {
|
| }
|
| handleWindowBlurs();
|
|
|
| + /**
|
| + * @constructor
|
| + * @extends {options.DeletableItemList}
|
| + */
|
| var InlineEditableItemList = cr.ui.define('list');
|
|
|
| InlineEditableItemList.prototype = {
|
|
|