Index: ui/webui/resources/js/cr/ui/table/table_column.js |
diff --git a/ui/webui/resources/js/cr/ui/table/table_column.js b/ui/webui/resources/js/cr/ui/table/table_column.js |
index d8533a04e7186569f4c84ea7cdd53b00b2f3a612..c0dc8b414d525679b595c3311b53002b117bdb4c 100644 |
--- a/ui/webui/resources/js/cr/ui/table/table_column.js |
+++ b/ui/webui/resources/js/cr/ui/table/table_column.js |
@@ -11,15 +11,18 @@ cr.define('cr.ui.table', function() { |
/** |
* A table column that wraps column ids and settings. |
- * @param {!Array} columnIds Array of column ids. |
+ * @param {string} id |
+ * @param {string} name |
+ * @param {number} width |
+ * @param {boolean=} opt_endAlign |
* @constructor |
* @extends {EventTarget} |
*/ |
- function TableColumn(id, name, width, endAlign) { |
+ function TableColumn(id, name, width, opt_endAlign) { |
this.id_ = id; |
this.name_ = name; |
this.width_ = width; |
- this.endAlign_ = endAlign; |
+ this.endAlign_ = !!opt_endAlign; |
} |
TableColumn.prototype = { |