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

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

Issue 2623743002: DevTools: extract modules (non-extensions) (Closed)
Patch Set: rebaseline Created 3 years, 11 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/HeapSnapshotGridNodes.js
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotGridNodes.js b/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotGridNodes.js
index 9558cafe0a1473875e4c077cffca067409bce08e..3a2fa321e9ddbdae74d05d7b15347b92a9cba7d0 100644
--- a/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotGridNodes.js
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotGridNodes.js
@@ -31,7 +31,7 @@
/**
* @unrestricted
*/
-Profiler.HeapSnapshotGridNode = class extends UI.DataGridNode {
+Profiler.HeapSnapshotGridNode = class extends DataGrid.DataGridNode {
/**
* @param {!Profiler.HeapSnapshotSortableDataGrid} tree
* @param {boolean} hasChildren
@@ -164,7 +164,7 @@ Profiler.HeapSnapshotGridNode = class extends UI.DataGridNode {
}
/**
- * @return {!Array.<!UI.DataGridNode>}
+ * @return {!Array.<!DataGrid.DataGridNode>}
*/
allChildren() {
return this._dataGrid.allChildren(this);
@@ -179,7 +179,7 @@ Profiler.HeapSnapshotGridNode = class extends UI.DataGridNode {
/**
* @param {number} nodePosition
- * @return {?UI.DataGridNode}
+ * @return {?DataGrid.DataGridNode}
*/
childForPosition(nodePosition) {
var indexOfFirstChildInRange = 0;
@@ -278,7 +278,7 @@ Profiler.HeapSnapshotGridNode = class extends UI.DataGridNode {
* @this {Profiler.HeapSnapshotGridNode}
*/
function insertShowMoreButton(from, to, insertionIndex) {
- var button = new UI.ShowMoreDataGridNode(
+ var button = new DataGrid.ShowMoreDataGridNode(
this._populateChildren.bind(this), from, to, this._dataGrid.defaultPopulateCount());
this._dataGrid.insertChild(this, button, insertionIndex);
}

Powered by Google App Engine
This is Rietveld 408576698