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

Unified Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-js-line-level-profile.html

Issue 2150803002: [DevTools] Add callFrame to CPUProfileNode & SamplingHeapProfileNode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments Created 4 years, 5 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/timeline-js/timeline-js-line-level-profile.html
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-js-line-level-profile.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-js-line-level-profile.html
index 027fa46c7eba2649c6ab9ba74fae5039ea1e2b30..4c9c1c1c9f384df5c222e72e3304e5c8a51b464f 100644
--- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-js-line-level-profile.html
+++ b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-js-line-level-profile.html
@@ -10,34 +10,34 @@ function test()
startTime: 10,
endTime: 20,
head: {
- functionName: "(root)",
+ callFrame: { functionName: "(root)" },
hitCount: 0,
children: [
{
- functionName: "foo1",
+ callFrame: { functionName: "foo1" },
hitCount: 100,
positionTicks: [{line:1, ticks:10}, {line:2, ticks:20}, {line:3, ticks:30}, {line:4, ticks:40}],
children: []
},
{
- functionName: "foo2",
+ callFrame: { functionName: "foo2" },
hitCount: 200,
positionTicks: [{line:100, ticks:1}, {line:102, ticks:190}],
children: []
},
{
- functionName: "null",
+ callFrame: { functionName: "null" },
hitCount: 0,
positionTicks: [],
children: [
{
- functionName: "bar",
+ callFrame: { functionName: "bar" },
hitCount: 300,
positionTicks: [{line:55, ticks:22}],
children: []
},
{
- functionName: "baz",
+ callFrame: { functionName: "baz" },
hitCount: 400,
// no positionTicks for the node.
children: []
@@ -58,7 +58,7 @@ function test()
function setUrls(url, node)
{
- node.url = url;
+ node.callFrame.url = url;
node.children.forEach(setUrls.bind(null, url));
}

Powered by Google App Engine
This is Rietveld 408576698