drive: Fix computation for showing the number of fetched files
Previously, computation of the interval resulted in a negative value in under certain circumstances, which resulted in a DCHECK failure. This patch fixes the problem. BUG=154363 TEST=Log in using a large Drive account; open Files.app and go to Drive; The number of fetched files was updated smoothly Review URL: https://chromiumcodereview.appspot.com/11192027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162361 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment