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

Unified Diff: third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js

Issue 2573673002: DevTools: enable private field checks as a part of compilation. (Closed)
Patch Set: review comments addressed. 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
Index: third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
diff --git a/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js b/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
index ebf5b7a00da2f0f5e577d87cf1260f2e95df8e19..e62d3fb47c9a37582dc2be94b2989415f41c7d3a 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
+++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
@@ -287,14 +287,15 @@ Network.NetworkDataGridNode = class extends UI.SortableDataGridNode {
/**
* @override
+ * @param {!Element} element
*/
- createCells() {
+ createCells(element) {
this._nameCell = null;
this._initiatorCell = null;
- this._element.classList.toggle('network-error-row', this._isFailed());
- this._element.classList.toggle('network-navigation-row', this._isNavigationRequest);
- super.createCells();
+ element.classList.toggle('network-error-row', this._isFailed());
+ element.classList.toggle('network-navigation-row', this._isNavigationRequest);
+ super.createCells(element);
}
/**

Powered by Google App Engine
This is Rietveld 408576698