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
/
text
/
resources
/
layering-text.js
diff --git
a/PerformanceTests/Animometer/tests/text/resources/layering-text.js
b/PerformanceTests/Animometer/tests/text/resources/layering-text.js
index
b616c1e
..
385e197
100644
(file)
--- a/
PerformanceTests/Animometer/tests/text/resources/layering-text.js
+++ b/
PerformanceTests/Animometer/tests/text/resources/layering-text.js
@@
-220,8
+220,6
@@
LayeringTextStage.prototype.animate = function(timeDelta)
LayeringTextStage.prototype.tune = function(count)
{
- count = count > 0 ? Math.floor(count) : Math.ceil(count);
-
if (count == 0)
return this._textElements.length;