Index: third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkerCacheViews.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkerCacheViews.js b/third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkerCacheViews.js |
index e9d1b95b353533892ad5ade1ebfcf3270008fa2f..7e65559cf965d1482f1c04f4a69e1ff38aafdbf0 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkerCacheViews.js |
+++ b/third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkerCacheViews.js |
@@ -36,13 +36,12 @@ WebInspector.ServiceWorkerCacheView.prototype = { |
*/ |
_createDataGrid: function() |
{ |
- var columns = []; |
- columns.push({id: "number", title: WebInspector.UIString("#"), width: "50px"}); |
- columns.push({id: "request", title: WebInspector.UIString("Request")}); |
- columns.push({id: "response", title: WebInspector.UIString("Response")}); |
- |
- var dataGrid = new WebInspector.DataGrid(columns, undefined, this._deleteButtonClicked.bind(this), this._updateData.bind(this, true)); |
- return dataGrid; |
+ var columns = /** @type {!Array<!WebInspector.DataGrid.ColumnDescriptor>} */ ([ |
+ {id: "number", title: WebInspector.UIString("#"), width: "50px"}, |
+ {id: "request", title: WebInspector.UIString("Request")}, |
+ {id: "response", title: WebInspector.UIString("Response")} |
+ ]); |
+ return new WebInspector.DataGrid(columns, undefined, this._deleteButtonClicked.bind(this), this._updateData.bind(this, true)); |
}, |
_createEditorToolbar: function() |