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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui_lazy/ViewportDataGrid.js

Issue 2567573002: DevTools: fix private field usage violation discovered after the compiler roll. (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui_lazy/SortableDataGrid.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/ui_lazy/ViewportDataGrid.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui_lazy/ViewportDataGrid.js b/third_party/WebKit/Source/devtools/front_end/ui_lazy/ViewportDataGrid.js
index 4ffffd88ff2afd51101723710ffdea76ae247356..adf618e7e7f409f8953b330c0271ab8ae7c1f906 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui_lazy/ViewportDataGrid.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui_lazy/ViewportDataGrid.js
@@ -126,7 +126,7 @@ UI.ViewportDataGrid = class extends UI.DataGrid {
if (this._flatNodes)
return this._flatNodes;
var flatNodes = [];
- var children = [this._rootNode.children];
+ var children = [this.rootNode().children];
var counters = [0];
var depth = 0;
while (depth >= 0) {
@@ -230,7 +230,7 @@ UI.ViewportDataGrid = class extends UI.DataGrid {
}
}
- var previousElement = this._topFillerRow;
+ var previousElement = this.topFillerRowElement();
if (previousElement.nextSibling === this._hiddenWheelTarget)
previousElement = this._hiddenWheelTarget;
var tBody = this.dataTableBody;
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui_lazy/SortableDataGrid.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698