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

Unified Diff: third_party/WebKit/Source/devtools/front_end/profiler/BottomUpProfileDataGrid.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileFlameChart.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b94e72605b67424b14a0f624b3bcf05e17875d58..c1752f48319aec4d4350f1fe1f6c10aa4fd5ca99 100644
--- a/third_party/WebKit/Source/devtools/front_end/profiler/BottomUpProfileDataGrid.js
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/BottomUpProfileDataGrid.js
@@ -175,6 +175,7 @@ Profiler.BottomUpProfileDataGridTree = class extends Profiler.ProfileDataGridTre
*/
constructor(formatter, searchableView, rootProfileNode, total) {
super(formatter, searchableView, total);
+ this.deepSearch = false;
// Iterate each node in pre-order.
var profileNodeUIDs = 0;
@@ -291,28 +292,6 @@ Profiler.BottomUpProfileDataGridTree = class extends Profiler.ProfileDataGridTre
/**
* @override
- * @param {!UI.SearchableView.SearchConfig} searchConfig
- * @param {boolean} shouldJump
- * @param {boolean=} jumpBackwards
- */
- performSearch(searchConfig, shouldJump, jumpBackwards) {
- this.searchCanceled();
- var matchesQuery = this._matchFunction(searchConfig);
- if (!matchesQuery)
- return;
-
- this._searchResults = [];
- for (var current = this.children[0]; current; current = current.traverseNextNode(true, null, true)) {
- if (matchesQuery(current))
- this._searchResults.push({profileNode: current});
- }
- this._searchResultIndex = jumpBackwards ? 0 : this._searchResults.length - 1;
- this._searchableView.updateSearchMatchesCount(this._searchResults.length);
- this._searchableView.updateCurrentMatchIndex(this._searchResultIndex);
- }
-
- /**
- * @override
*/
populateChildren() {
Profiler.BottomUpProfileDataGridNode._sharedPopulate(this);
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileFlameChart.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698