Chromium Code Reviews| 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) |