Refactor tune() to pass in an integer-based count
[WebKit-https.git] / PerformanceTests / Animometer / tests / examples / resources / canvas-stars.js
index 343fa34..c9028d7 100644 (file)
@@ -61,8 +61,6 @@ CanvasStarsStage.prototype.constructor = CanvasStarsStage;
 
 CanvasStarsStage.prototype.tune = function(count)
 {
-    count = count > 0 ? Math.floor(count) : Math.ceil(count);
-
     if (count == 0)
         return this._objects.length;