Modify AsyncUtil.Aggregation to be able to keep calling in limited rate.
I changed behavior of AsyncUtil.Aggregation and changed its name to AsyncUtil.RateLimiter. Previously, AsyncUtil.Aggregation aggregates consecutive calls as much as possible. To keep update the UI, from now the closure will be called as much as possible keeping given minimum interval. BUG=373627 TEST=manually change the window size continuously. Review URL: https://codereview.chromium.org/329083002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276703 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment