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

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

Issue 2450663004: DevTools: do not allow using 'this' before call into super. (Closed)
Patch Set: rebaselined Created 4 years, 2 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/ProfileDataGrid.js
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileDataGrid.js b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileDataGrid.js
index 2254a397ea8bd88f80ef6fd1e4d01d61d39b8781..92a3d9ee2bde26c3cb217e8ee413370fdb7d5822 100644
--- a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileDataGrid.js
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileDataGrid.js
@@ -32,10 +32,9 @@
*/
WebInspector.ProfileDataGridNode = function(profileNode, owningTree, hasChildren)
{
- this.profileNode = profileNode;
-
WebInspector.DataGridNode.call(this, null, hasChildren);
+ this.profileNode = profileNode;
this.tree = owningTree;
/** @type {!Map<string, !WebInspector.ProfileDataGridNode>} */
this.childrenByCallUID = new Map();

Powered by Google App Engine
This is Rietveld 408576698