git://git.webkit.org
/
WebKit-https.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refactor tune() to pass in an integer-based count
[WebKit-https.git]
/
PerformanceTests
/
Animometer
/
tests
/
examples
/
resources
/
canvas-stars.js
diff --git
a/PerformanceTests/Animometer/tests/examples/resources/canvas-stars.js
b/PerformanceTests/Animometer/tests/examples/resources/canvas-stars.js
index
343fa34
..
c9028d7
100644
(file)
--- a/
PerformanceTests/Animometer/tests/examples/resources/canvas-stars.js
+++ b/
PerformanceTests/Animometer/tests/examples/resources/canvas-stars.js
@@
-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;