Bug 1056367 - Modify AttemptFling and DispatchFling to work iteratively instead of recursively. r=botond

--HG--
extra : amend_source : b1e397de5b947f8fa3d75c9003c9f9652b39c6e8