| Index: third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-flame-chart-overview.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-flame-chart-overview.html b/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-flame-chart-overview.html
|
| index d47098bdf86a4c39cc5123db8f6d52ab149ee6e7..be6c3651c78ed60d178e4c75495b61a71baa9994 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-flame-chart-overview.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-flame-chart-overview.html
|
| @@ -932,7 +932,7 @@ function test()
|
| profile.startTime *= 1000;
|
| profile.endTime *= 1000;
|
| var samplingInterval = (profile.endTime - profile.startTime) / (profile.samples.length - 1);
|
| - profile.timestampDeltas = Array.from(new Array(profile.samples.length), (x, i) => i ? samplingInterval : 0);
|
| + profile.timeDeltas = [0, ...new Array(profile.samples.length - 1).fill(samplingInterval)];
|
| profileAndExpectations.target = () => {};
|
| profileAndExpectations.weakTarget = () => new WeakReference(null);
|
| var cpuProfileView = new WebInspector.CPUProfileView(profileAndExpectations);
|
|
|