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

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..275258a7d2241d680fe5b866e17fae7b75138440 100644
--- a/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotDataGrids.js
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotDataGrids.js
@@ -529,7 +529,7 @@ WebInspector.HeapSnapshotViewportDataGrid.prototype = {
*/
appendNode: function(parent, node)
{
- this.allChildren(parent).push(node);
+ this.allChildren(parent).push(/** @type {!WebInspector.HeapSnapshotGridNode} */(node));
lushnikov 2016/03/08 20:01:49 over to @alph
},
/**
@@ -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