Use the media queries to dynamically set the stage for the graphics benchmark
[WebKit-https.git] / PerformanceTests / Animometer / tests / bouncing-particles / resources / bouncing-particles.js
index e8500f3a1c0eefbfab79384eb23654d99bb9051d..a271e6ac64c5f4c67b44b7b114893f0797a67390 100644 (file)
@@ -67,7 +67,7 @@ BouncingParticlesAnimator.prototype.constructor = BouncingParticlesAnimator;
 
 function BouncingParticlesStage(element, options)
 {
-    Stage.call(this, element);
+    Stage.call(this, element, options);
     
     this.particleSize = new Point(parseInt(options["particleWidth"]) || 10, parseInt(options["particleHeight"]) || 10);
     this._particles = [];