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

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

Issue 2566983004: DevTools: Fix profiler private field accesses. (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
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 9c50155657baf2ff13e215d9be221d2f939dfaee..bd6cb3fabdfb53542c3bd6a8a97f741bc4366b99 100644
--- a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileDataGrid.js
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileDataGrid.js
@@ -332,6 +332,7 @@ Profiler.ProfileDataGridTree = class {
this.total = total;
this.lastComparator = null;
this.childrenByCallUID = new Map();
+ this.deepSearch = true;
}
/**
@@ -547,7 +548,8 @@ Profiler.ProfileDataGridTree = class {
return;
this._searchResults = [];
- for (var current = this.children[0]; current; current = current.traverseNextNode(false, null, false)) {
+ const deepSearch = this.deepSearch;
+ for (var current = this.children[0]; current; current = current.traverseNextNode(!deepSearch, null, !deepSearch)) {
if (matchesQuery(current))
this._searchResults.push({profileNode: current});
}

Powered by Google App Engine
This is Rietveld 408576698