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