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

Unified Diff: third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-calculate-time.html

Issue 2379523002: DevTools: Remove recursion in ProfileTreeModel._calculateTotals (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/sdk/ProfileTreeModel.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-calculate-time.html
diff --git a/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-calculate-time.html b/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-calculate-time.html
index 82d891666bff5b6e4c1cb27b0e4517e84240f62f..d65adbbc8cff656a735e06b89c9d7fea1e99df60 100644
--- a/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-calculate-time.html
+++ b/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-calculate-time.html
@@ -93,6 +93,8 @@ function test()
"endTime": 1375445601.070847,
"samples": [ 1, 2 ]
};
+ profileAndExpectations.root = profileAndExpectations.head;
+ WebInspector.ProfileTreeModel.prototype._assignDepthsAndParents.call(profileAndExpectations);
WebInspector.ProfileTreeModel.prototype._calculateTotals(profileAndExpectations.head);
function checkExpectations(node)
{
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/sdk/ProfileTreeModel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698