Refactor tune() to pass in an integer-based count
[WebKit-https.git] / PerformanceTests / Animometer / tests / bouncing-particles / resources / bouncing-particles.js
index 68c2f38..25c5700 100644 (file)
@@ -95,8 +95,6 @@ BouncingParticlesStage.prototype.animate = function(timeDelta)
     
 BouncingParticlesStage.prototype.tune = function(count)
 {
-    count = count > 0 ? Math.floor(count) : Math.ceil(count);
-
     if (count == 0)
         return this._particles.length;