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

Unified Diff: LayoutTests/inspector/profiler/cpu-profiler-flame-chart-overview.html

Issue 235453008: DevTools: Extract CPU profile model out of CPUProfileView. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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: LayoutTests/inspector/profiler/cpu-profiler-flame-chart-overview.html
diff --git a/LayoutTests/inspector/profiler/cpu-profiler-flame-chart-overview.html b/LayoutTests/inspector/profiler/cpu-profiler-flame-chart-overview.html
index 91643f080173cbf51da38ba37e42b3ff2b400543..956b5c0cadff9aaa9331841eab2c648eacf7e0af 100644
--- a/LayoutTests/inspector/profiler/cpu-profiler-flame-chart-overview.html
+++ b/LayoutTests/inspector/profiler/cpu-profiler-flame-chart-overview.html
@@ -808,7 +808,7 @@ function test()
};
WebInspector.inspectorView.showPanel("profiles");
var cpuProfileView = new WebInspector.CPUProfileView(profileAndExpectations);
- var dataProvider = new WebInspector.CPUFlameChartDataProvider(cpuProfileView);
+ var dataProvider = new WebInspector.CPUFlameChartDataProvider(cpuProfileView.profile);
var colorGenerator = new WebInspector.CPUProfileFlameChart.ColorGenerator();
var timelineData = dataProvider.timelineData(colorGenerator);
console.log(Object.values(WebInspector.CPUProfileFlameChart.OverviewPane.calculateDrawData(dataProvider, timelineData, 16)));

Powered by Google App Engine
This is Rietveld 408576698