Bug 1141615 - Use before declaration for scaledStep in FlameGraph.jsm, r=jsantell

This commit is contained in:
Victor Porof 2015-03-10 13:19:10 -04:00
parent 5039ea0644
commit 83984f0c07

View File

@ -800,10 +800,10 @@ FlameGraph.prototype = {
}
while (true) {
let scaledStep = dataScale * timingStep;
if (++numIters > maxIters) {
return scaledStep;
}
let scaledStep = dataScale * timingStep;
if (scaledStep < spacingMin) {
timingStep <<= 1;
continue;