Skip to content

Commit 3f6115f

Browse files
vmiurasmfr
authored andcommitted
Fixes #43: Initialize canvas size when running benchmarks directly
1 parent d5d5502 commit 3f6115f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

MotionMark/resources/debug-runner/debug-runner.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,7 @@ Utilities.extendObject(window.benchmarkController, {
679679

680680
startBenchmarkImmediatelyIfEncoded: function()
681681
{
682+
benchmarkController.determineCanvasSize();
682683
benchmarkController.options = Utilities.convertQueryStringToObject(location.search);
683684
if (!benchmarkController.options)
684685
return false;

0 commit comments

Comments
 (0)