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

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

Issue 2716983002: [Devtools] Moved DataGridNode's .parent property to proper getter/setter (Closed)
Patch Set: changes Created 3 years, 9 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/BottomUpProfileDataGrid.js
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/BottomUpProfileDataGrid.js b/third_party/WebKit/Source/devtools/front_end/profiler/BottomUpProfileDataGrid.js
index c1752f48319aec4d4350f1fe1f6c10aa4fd5ca99..42ae20c330802c3ee8ae16cd5f4efaac186cdfdf 100644
--- a/third_party/WebKit/Source/devtools/front_end/profiler/BottomUpProfileDataGrid.js
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/BottomUpProfileDataGrid.js
@@ -249,11 +249,11 @@ Profiler.BottomUpProfileDataGridTree = class extends Profiler.ProfileDataGridTre
var currentNode = profileDataGridNode;
var focusNode = profileDataGridNode;
- while (currentNode.parent && (currentNode instanceof Profiler.ProfileDataGridNode)) {
+ while (currentNode.parent() && (currentNode instanceof Profiler.ProfileDataGridNode)) {
currentNode._takePropertiesFromProfileDataGridNode(profileDataGridNode);
focusNode = currentNode;
- currentNode = currentNode.parent;
+ currentNode = currentNode.parent();
if (currentNode instanceof Profiler.ProfileDataGridNode)
currentNode._keepOnlyChild(focusNode);

Powered by Google App Engine
This is Rietveld 408576698