diff --git a/resources/perf.webkit.org/public/shared/statistics.js b/resources/perf.webkit.org/public/shared/statistics.js index 5ed631a17..a47d17533 100644 --- a/resources/perf.webkit.org/public/shared/statistics.js +++ b/resources/perf.webkit.org/public/shared/statistics.js @@ -597,7 +597,7 @@ var Statistics = new (function () { function findOptimalSegmentationInternal(cost, previousNode, values, costMatrix, segmentCount) { - cost[0] = [0]; // The cost of segmenting single value is always 0. + cost[0] = new Float32Array([0]); // The cost of segmenting single value is always 0. previousNode[0] = [-1]; for (var segmentStart = 0; segmentStart < values.length; segmentStart++) { var costOfOptimalSegmentationThatEndAtCurrentStart = cost[segmentStart]; diff --git a/resources/perf.webkit.org/public/v3/bundled-scripts.js b/resources/perf.webkit.org/public/v3/bundled-scripts.js index 521eb05af..4e9162822 100644 --- a/resources/perf.webkit.org/public/v3/bundled-scripts.js +++ b/resources/perf.webkit.org/public/v3/bundled-scripts.js @@ -73,7 +73,7 @@ function allocatePreviousNodeForSegmentation(values,segmentCount) {var previousNode=new Array(values.length);for(var i=0;i