| 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 5a3a63da6f3c4b3d025fde453fa4fae64407673a..03f9a9161ef089ecb3ad39813554d66c557077d9 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotDataGrids.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotDataGrids.js
|
| @@ -345,6 +345,9 @@ WebInspector.HeapSnapshotViewportDataGrid.prototype = {
|
| return this.allChildren(this.rootNode());
|
| },
|
|
|
| + /**
|
| + * @override
|
| + */
|
| appendChildAfterSorting: function(child)
|
| {
|
| // Do nothing here, it will be added in updateVisibleNodes.
|
| @@ -544,11 +547,17 @@ WebInspector.HeapSnapshotViewportDataGrid.prototype = {
|
| this.allChildren(parent).splice(index, 0, /** @type {!WebInspector.HeapSnapshotGridNode} */(node));
|
| },
|
|
|
| + /**
|
| + * @override
|
| + */
|
| removeChildByIndex: function(parent, index)
|
| {
|
| this.allChildren(parent).splice(index, 1);
|
| },
|
|
|
| + /**
|
| + * @override
|
| + */
|
| removeAllChildren: function(parent)
|
| {
|
| parent._allChildren = [];
|
| @@ -574,6 +583,9 @@ WebInspector.HeapSnapshotViewportDataGrid.prototype = {
|
| return elemBottom <= viewportBottom && elemTop >= viewportTop;
|
| },
|
|
|
| + /**
|
| + * @override
|
| + */
|
| onResize: function()
|
| {
|
| WebInspector.HeapSnapshotSortableDataGrid.prototype.onResize.call(this);
|
| @@ -629,6 +641,9 @@ WebInspector.HeapSnapshotContainmentDataGrid.prototype = {
|
| return new WebInspector.HeapSnapshotObjectNode(this, snapshot, fakeEdge, null);
|
| },
|
|
|
| + /**
|
| + * @override
|
| + */
|
| sortingChanged: function()
|
| {
|
| var rootNode = this.rootNode();
|
| @@ -662,6 +677,9 @@ WebInspector.HeapSnapshotRetainmentDataGrid.Events = {
|
| };
|
|
|
| WebInspector.HeapSnapshotRetainmentDataGrid.prototype = {
|
| + /**
|
| + * @override
|
| + */
|
| _createRootNode: function(snapshot, fakeEdge)
|
| {
|
| return new WebInspector.HeapSnapshotRetainingObjectNode(this, snapshot, fakeEdge, null);
|
| @@ -1023,6 +1041,9 @@ WebInspector.AllocationDataGrid.prototype = {
|
| this.updateVisibleNodes(true);
|
| },
|
|
|
| + /**
|
| + * @override
|
| + */
|
| sortingChanged: function()
|
| {
|
| this._topNodes.sort(this._createComparator());
|
|
|