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

Unified Diff: third_party/WebKit/LayoutTests/inspector/tracing/trace-event-self-time.html

Issue 2244783004: DevTools: Refactor Profiler domain interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/LayoutTests/inspector/tracing/trace-event-self-time.html
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/trace-event-self-time.html b/third_party/WebKit/LayoutTests/inspector/tracing/trace-event-self-time.html
index 6f6a6fa1f74877d1580ee3f99a84e376820b03ca..17a8a92340ac3e5f90b313236158287dc3568dee 100644
--- a/third_party/WebKit/LayoutTests/inspector/tracing/trace-event-self-time.html
+++ b/third_party/WebKit/LayoutTests/inspector/tracing/trace-event-self-time.html
@@ -262,24 +262,28 @@ function test()
var cpuProfile = {
startTime: 420,
endTime: 430,
- head: {
- callFrame: { functionName: "(root)" },
- id: 1,
- children: [{
+ nodes: [
+ {
+ callFrame: { functionName: "(root)" },
+ id: 1,
+ children: [2]
+ },
+ {
callFrame: { functionName: "foo" },
id: 2,
- children: [{
- callFrame: { functionName: "bar" },
- id: 3,
- children: []
- },
- {
- callFrame: { functionName: "baz" },
- id: 4,
- children: []
- }]
- }]
- },
+ children: [3, 4]
+ },
+ {
+ callFrame: { functionName: "bar" },
+ id: 3,
+ children: []
+ },
+ {
+ callFrame: { functionName: "baz" },
+ id: 4,
+ children: []
+ }
+ ],
timestamps: [421000, 422000, 423000, 424000, 425000, 426000, 427000, 428000, 429000],
samples: [2, 2, 3, 3, 3, 4, 4, 2, 2 ]
};

Powered by Google App Engine
This is Rietveld 408576698