| Index: third_party/WebKit/PerformanceTests/Canvas/toBlob_duration_jpeg.html
|
| diff --git a/third_party/WebKit/PerformanceTests/Canvas/toBlob_duration_jpeg.html b/third_party/WebKit/PerformanceTests/Canvas/toBlob_duration_jpeg.html
|
| index 42376d40e8b7e57aa6b0a7b3ac5d2bdac384bf20..37ed35b90ef0a769568a46464301ba8759f9be4f 100644
|
| --- a/third_party/WebKit/PerformanceTests/Canvas/toBlob_duration_jpeg.html
|
| +++ b/third_party/WebKit/PerformanceTests/Canvas/toBlob_duration_jpeg.html
|
| @@ -33,14 +33,16 @@ function runTest(myCanvas) {
|
|
|
| window.onload = function () {
|
| canvas_idle = createCanvas4k("canvas_idle");
|
| - PerfTestRunner.prepareToMeasureValuesAsync({
|
| + PerfTestRunner.startMeasureValuesAsync({
|
| unit: 'ms',
|
| done: function () {
|
| isDone = true;
|
| },
|
| + run: function() {
|
| + runTest(canvas_idle);
|
| + },
|
| description: "Measures performance of canvas."
|
| });
|
| - runTest(canvas_idle);
|
| };
|
| </script>
|
| </body>
|
|
|