Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(565)

Unified Diff: third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotDataGrids.js

Issue 1774503005: [DevTools] Roll closure compiler to ToT version (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotDataGrids.js
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotDataGrids.js b/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotDataGrids.js
index 6fa1a42301233d9390deb887457fe54feaaf4cef..f4ad0d1fa4ac5a8a6f6075bd17f97d8ee6f00b3b 100644
--- a/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotDataGrids.js
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotDataGrids.js
@@ -525,7 +525,7 @@ WebInspector.HeapSnapshotViewportDataGrid.prototype = {
/**
* @param {!WebInspector.DataGridNode} parent
- * @param {!WebInspector.DataGridNode} node
+ * @param {!WebInspector.HeapSnapshotGridNode} node
*/
appendNode: function(parent, node)
{
@@ -540,7 +540,7 @@ WebInspector.HeapSnapshotViewportDataGrid.prototype = {
*/
insertChild: function(parent, node, index)
{
- this.allChildren(parent).splice(index, 0, node);
+ this.allChildren(parent).splice(index, 0, /** @type {!WebInspector.HeapSnapshotGridNode} */(node));
},
removeChildByIndex: function(parent, index)

Powered by Google App Engine
This is Rietveld 408576698